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

Maciej Izak hnb.code at gmail.com
Mon Feb 1 19:36:53 CET 2016


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

> And you didn't read the article fully. There is one language that has an
> iif() intrinsic that evaluates only the taken branch: Oxygene. ;)
>
-,- OMG (!). Sorry :\ I have not noticed. This changes everything. Damn.
What is better?

1. correct behavior ?
2. a little more oxygene compatibility ?

if 1 will be chosen, is possible to create alias to
InlineIf/Ifthen/whateverIf intrinsic in the future? (for example iif alias
in Oxygene mode)

-- 
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160201/3c603050/attachment.html>


More information about the fpc-pascal mailing list