[REBOL] Re: Evaluating if's
From: sunandadh:aol at: 2-Jul-2002 2:38
Charles:> Obviously, if the first condition is false, I want it to quit without > evaluating the second condition.One way is to use the 'all function. Try these two snippets: if all [ 1 = 1 2 / 0 ] [ print "won't get here -- divide by zero error"] if all [ 1 = 99 2 / 0 ] [ print "won't get here -- first condition false"] Sunanda.