Is the order in which expressions will be evaluated defined int LiveCode
For example, if I have fields such as live_cats live_dogs and such,
some but not others of which have corresponding fields dead_cat,
dead_mouse, etc, can if have a construct that comes to
switch
case exists(dead_cat) and ("bad_smell" is among the words of dead_cat)
If it is defined that the leftmost expression is evaluated first, and
the right-hand only if needed to resolve the "and," I would expect
this to work.
If it doesn't, though, things get more difficult: using the exists()
within the switch throws me down that path, and only down it can I
check bad_smell.
--
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
[email protected]
3025 S. Maryland Parkway
Suite A
Las Vegas, NVĀ 89109
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode