[fpc-pascal] Boolean expression short-circuit

Matt Emson memsom at interalpha.co.uk
Tue Nov 22 16:14:39 CET 2005


> Thanks, I guess I lost the argument :]. Anyway, I guess it wouldn't hurt
> to clarify that just a little bit in the manual :-/

However, IIRC "complete boolean eval" (which is what delphi calls it) would
blow the code up, as even if Foo was nil, the second half would be evaluated
regardless.

Maybe that will go some way to winning part of the argument? ;-)




More information about the fpc-pascal mailing list