is it true ?
Lynch, Jonathan
bnz2 at cdc.gov
Wed May 18 12:18:48 EDT 2005
I believe it must be true, because I sometimes do something like:
If (exists(field "myField") = true) and (field "myField" <> empty)
then...
This kind of statement never causes an error for me, even if field
"myField" does not exist. Thus, it must stop evaluating before it gets
to the second part of the 'if' statement.
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of jbv
Sent: Wednesday, May 18, 2005 11:42 AM
To: How to use Revolution
Subject: is it true ?
Hi again,
I vaguely remember reading from someone on this very list that in case
of a complex conditional statement like :
if offset(a,d)>0 and w1>0 and w2=w1+1 and offset(b,d)>0 and w3>0 and
w4=w3+1 then
Rev would drop the evaluation as soon as a false is encountered, hence
speeding up
the execution of the script...
Is that true, or did I dream ?
Thanks,
JB
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list