On Mon, Feb 1, 2016 at 3:23 PM, silvioprog <silviop...@gmail.com> 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  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to