Date: Wed, 30 Jul 2003 13:55:03 -0700
Reply-To: Prasad S Ravi <prasad.s.ravi@HOUSEHOLD.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Prasad S Ravi <prasad.s.ravi@HOUSEHOLD.COM>
Subject: Re: strange result from in:
Content-type: text/plain; charset=us-ascii
Ling:
The colon ':' after 'in' is what causing it, remove that and you should
be fine.
Prasad Ravi
Ling Yun Chen
<lchen@RHOWORLD.COM> To: SAS-L@LISTSERV.UGA.EDU
Sent by: "SAS(r) cc:
Discussion" Subject: strange result from in:
<SAS-L@LISTSERV.UGA.E
DU>
07/30/2003 01:41 PM
Please respond to
lchen
Dear SAS-Lers, I just ran into a strange problem and I can't figure out why
it happened. Here's the code,
if compress(var1) in: ('>1', '<1') then flag=1;
What I don't understand is why when var1 is blank, the record is flagged
with flag=1. Does anybody know why this happened?
Thanks.
Ling