[fpc-pascal] IfThen() intrinsic removed
OBones
obones at free.fr
Fri Feb 5 10:21:34 CET 2016
Michael Van Canneyt wrote:
> The only use case that would be gained is the non-evaluation of one of
> the arguments.
Yes, and that's pretty much the only use that I could think of, but it
would be very convenient when testing for a variable to be assigned and
give a default value it if is not.
Something along those lines:
http://docs.elementscompiler.com/Oxygene/Expressions/MemberAccess/
I'm not saying it should be implemented right now, but it might be a
start for some thinking.
More information about the fpc-pascal
mailing list