Logical expressions ("and" and "or")
Logical expressions ("and" and "or")
- Subject: Logical expressions ("and" and "or")
- From: Jeffrey Mattox <email@hidden>
- Date: Sun, 23 Feb 2003 15:56:24 -0600
A significant feature of the C language is that logical expressions
connected by && ("and") and || ("or") are evaluated left to right,
and evaluation stops as soon as the truth or falsehood of the result
is known [K&R, section 2.6].
Is this also true in AppleScript? If so, conditionals can be
optimized, a little.
Jeff
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.