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

Fabrício Srdic fabricio.srdic at gmail.com
Mon Feb 1 17:41:37 CET 2016


Em 01/02/2016 12:52, "leledumbo" <leledumbo_cool at yahoo.co.id> escreveu:
>
> > Iif sounds good, and would be very useful for converting C code.
> > However Iif() sounds very good.
> > Me too. Iif is used for many languages.
> > +1+1+1+1+1 iif(). :-D
>
> I'm with Silvio. The name "inline if" (iif) describes its semantics
clearer
> than IfThen, which already has semantics of being regular function with
all
> parameters evaluated first instead of a syntactic sugar for if-then-else
> statement.

+1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160201/8f257678/attachment.html>


More information about the fpc-pascal mailing list