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

silvioprog silvioprog at gmail.com
Mon Feb 1 20:20:09 CET 2016


On Mon, Feb 1, 2016 at 4:10 PM, Maciej Izak <hnb.code at gmail.com> wrote:

> 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.
>

IKTF <http://i.imgur.com/6SDcyEI.png>, bro. :-D

-- 
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160201/64f710a6/attachment.html>


More information about the fpc-pascal mailing list