On Mon, Feb 1, 2016 at 3:23 PM, silvioprog <[email protected]> wrote:
[...]
> It would be nice if the programmer could choose it from some compiler
> switch, something like:
>
> {$define ifthendecl := InlineIf}
>
> or:
>
> {$define ifthendecl := iif} // my favourite :3
>
> or:
>
> {$define ifthendecl := &if}
>
[...]
Damn Gmail ctrl+enter... -.-'
I meant:
{$define TheFavouriteProgrammerWord := System.InlineIf}
so:
S := TheFavouriteProgrammerWord(Cond, TVal, FVal);
--
Silvio Clécio
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal