[fpc-pascal] New feature: IfThen() intrinsic
Henry Vermaak
henry.vermaak at gmail.com
Tue Feb 2 11:16:32 CET 2016
On Tue, Feb 02, 2016 at 10:49:03AM +0100, Michael Van Canneyt wrote:
> So the iif in either functional or expression form has my vote.
I'm surprised that you support iif in function call form. Making
something that looks like a function call but may not behave as a
function call (short cut eval) seems like a recipe for disaster. Say
what you will about the C ternary operator, but at least it didn't
introduce ambiguity.
Henry
More information about the fpc-pascal
mailing list