is it true ?

jbv jbv.silences at
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 ?


More information about the Use-livecode mailing list