Date: Fri, 25 Jun 2004 20:22:44 -0400
Reply-To: "Chang Y. Chung" <chang_y_chung@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Chang Y. Chung" <chang_y_chung@HOTMAIL.COM>
Subject: Re: IF conditions and ARRAY subscripts
On Fri, 25 Jun 2004 19:49:11 -0400, Talbot Michael Katz <topkatz@MSN.COM>
wrote:
...
>whether one of the array subscripts is out of bounds. I thought that the
>rule for an IF statement with OR conditions was that it checks individual
>conditions successively, and stops checking as soon as it finds one that
is
>true.
...
Hi, TMK,
A good question. I guess the answer to your quesion is related to the
rules regarding whether a set of boolean expressions short-circuits or
not. The short answer is "not always." There was a thread in sas-l last
october about this. See especially the posting by Bruce:
http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0310C&L=sas-l&P=R2197&D=1&O=D
Cheers,
Chang
|