2016-02-01 17:14 GMT+01:00 Graeme Geldenhuys <mailingli...@geldenhuys.co.uk>
:

> That doesn't mean new language features can't be added, but
> when they are, find a Pascal-like solution.
>

IfThen, IIF, &if is controversial.

My favorite still is &if.

More Pascal like propositions:

1) x := IfExpr(true, 0, 0);
2) x := if true then 0 else 0;
3) x := ite(true, 0, 0); // If Then Else = ITE, more correct than IIF

-- 
Best regards,
Maciej Izak
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to