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).


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to