[fpc-devel] if-then-else expression
pascaldragon at googlemail.com
Mon Feb 1 21:14:53 CET 2016
Time for the next flame. I've attached a patch which implements an "if
Condition then ThenExpr else ElseExpr"-expression for those that want to
play around with it. It follows the same principles as the
yet-to-be-renamed IfThen() (namely that the type is determined by the
ThenExpr) as it's just a different syntax with the same (copy & pasted)
code behind it...
Note: this patch *might* also work with 3.0.0 or even 2.6.4...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3507 bytes
Desc: not available
More information about the fpc-devel