[fpc-devel] new features and facilities

Marco van de Voort marcov at stack.nl
Mon Oct 12 21:59:46 CEST 2015


In our previous episode, Dmitry Boyarintsev said:
> The only Pascal way is
> 
>  left := IfThen(expr1, expr2, expr3)

I also think intrinsic pseudo function syntax would be best, evaluating
only one expression. Because that is the primary purpose of the ternary.

Making it an operator is just C copycatting, and only secondary purpose if
at all (since I don't see what operator syntax would improve extra).





More information about the fpc-devel mailing list