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 2007, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 20 Jul 2007 20:32:01 -0400
Reply-To:     Arthur Tabachneck <art297@NETSCAPE.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Arthur Tabachneck <art297@NETSCAPE.NET>
Subject:      Re: Expression
Comments: To: Sanjay J <ssj2690@YAHOO.COM>


Depending upon how you want to use the expression, there are probably numerous ways. For example, according to the manual:

"A fully-bounded range condition consists of a variable between two comparison operators, specifying both an upper and lower limit. For example, the following expression returns the employee numbers that fall within the range of 500 to 1000 (inclusive):

where 500 <= empnum <= 1000;"

or, in your case, where 0 <= X <= 100

Art --------- On Fri, 20 Jul 2007 19:59:23 -0400, Sanjay J <ssj2690@YAHOO.COM> wrote:

>How to write the following expression in SAS data step >X >=0 <= 100; >Thanks

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