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 (February 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 13 Feb 2001 19:08:16 -0500
Reply-To:     Ashiru Babatunde <Babatunde.Ashiru@INFINEON.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Ashiru Babatunde <Babatunde.Ashiru@INFINEON.COM>
Subject:      macro operators
Comments: To: "SAS-L (E-mail)" <SAS-L@UGA.CC.UGA.EDU>
Content-Type: text/plain; charset="iso-8859-1"

While I can not positively affirm if the macro facility support "in" operator, following tested alternative simulates/mimics the "in" operator:

%let listvalues=%str( this should perform similarly as the in operator ); /* precede and end list of possible values with space */ %let testvalue=perform;

the following will resolve to true:

%if %index((&listvalue), %bquote( &testvalue )) %then %do; blah; blah; blah; %end; HTH

Best Regards, _________________________________ Babatunde R Ashiru Infineon Technologies Richmond Analysis Tools/Product Sustaining Voice: (804)952-7944 Fax: (804)952-7902 eMail: Babatunde.Ashiru@Infineon.com pager: 1589371@skytel.com or 1.800.759.8888 pin#: 1589371 _________________________________


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