2016-02-01 17:41 GMT+01:00 Fabrício Srdic <fabricio.sr...@gmail.com>:
> Em 01/02/2016 12:52, "leledumbo" <leledumbo_c...@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 > iif is not semantic clear. IIF means "Immediate IF". Citation: "both truepart and the falsepart will be evaluated regardless of which one is actually returned." - https://en.wikipedia.org/wiki/IIf IIF is equivalent of IfThen from Math / StrUtils, intrinsic "IfThen" works in different way. We can not make such a mess. -- Best regards, Maciej Izak
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal