On 5/18/05 1:34 PM, jbv wrote:

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 ?

Right.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to