Transcript handling of OR and AND expressions

Mark Wieder mwieder at ahsoftware.net
Wed Feb 18 21:41:04 EST 2004


Dan-

Wednesday, February 18, 2004, 9:15:10 AM, you wrote:

DS> This is, relatively speaking at least, how all of the major programming
DS> languages work. There's even a name for it. I think it might be called
DS> something like "lazy" Boolean evaluation.

I suppose one *could* make the case that VB isn't a "major programming
language"...

DS> "Don't include expressions in Boolean logic statements if thos
DS> expressions have side effects. Rather, evaluate the expressions outside
DS> the Boolean logic statement."

...no argument from me on that one...

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list