General information
Category:
Coding, syntax & commands
I beg to differ here. Pascal (one of the best languages I've seen, MHO) had a compiler directive that enabled/disabled complete evaluation for logical expressions. This was very handy sometimes.
Vlad
>Come on now...it would be ridiculous for VFP or any other language to continue beyond the OR! This is *not* optimization, it is just the way sensible programming works! Do you think (or expect) that all CASEs of a CASE structure are evaluated beyond the one which 'triggers'? Using your logic most compilers would and those that did not would be credited as having an optimizer!
>
>Give this just a little bit of thought, will you. *Anything* beyond your 'OR', no matter what it is or how long it is or how many parenthesis it might have, cannot affect the result. To call observance of this fact 'optimization' is to look for crediting VFP with something that just isn't so. It *would* be poorly done if it did anything else!
>
>Jim N
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only