is it true ?
jbv
jbv.silences at Club-Internet.fr
Wed May 18 14:34:12 EDT 2005
>
> Yes, it's true - quoted from Scott Raney on the MC list; conditional
> evaluation ceases as soon as the result can be determined.
OK. so in my example :
put wordoffset(b,d) into w1
if offset(a,d) > 0 and w1 > 0 then
I'd better write :
if offset(a,d) > 0 and wordoffset(b,d) > 0 then
because wordoffset(b,d) will be evaluated only if the
1st part of the conditional statement is true... right ?
JB
More information about the use-livecode
mailing list