LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2003, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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:
Comments: To: lchen@rhoworld.com
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


Back to: Top of message | Previous page | Main SAS-L page