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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
