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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to