2016-02-01 9:35 GMT+01:00 David Butler <[email protected]>:

> This is usually called "inline if".
>
> Maybe call it "inlineif" or "iif", e..g
>
> x := iif (a < 3, 1, 2)
>
> or even
>
> x := iif a < 3 then 1 else 2;
>
>
anything is better than System.IfThen blatant incompatibility. I opt for
oxygene syntax. Anyway reverting this "ferature" in current form is very
important.
_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to