2016-02-01 19:18 GMT+01:00 Sven Barth <pascaldra...@googlemail.com>:

> > 2. IIF should works like IfThen in Math or StrUtils. If no - It will be
> precedence with comparision to others languages and iif definition (!)...
>
> > https://en.wikipedia.org/wiki/IIf
>
> And you didn't read the article fully. There is one language that has an
> iif() intrinsic that evaluates only the taken branch: Oxygene. ;)
>
This is the strong argument for "iif". Mea culpa. You are the only one who
is reading my links in this mailing list even better than me ;) Now I'm
convinced for "iif" too. Damn.
-- 
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