[fpc-pascal] New feature: IfThen() intrinsic

Maciej Izak hnb.code at gmail.com
Mon Feb 1 20:10:37 CET 2016


2016-02-01 19:18 GMT+01:00 Sven Barth <pascaldragon at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160201/9fb2fbca/attachment.html>


More information about the fpc-pascal mailing list