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 (May 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 10 May 2007 03:28:56 -0400
Reply-To:   Jim Groeneveld <jim2stat@YAHOO.CO.UK>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Jim Groeneveld <jim2stat@YAHOO.CO.UK>
Subject:   Re: Did "%in" ever get implemented?

Well, without the quotes then...........................

I had the impression that a macro function %IN would be supported some time. I don't know what syntax to expect. There are a few macros around with different names that support that functionality. One of them is my macro %IN that you can obtain from: http://home.hccnet.nl/jim.groeneveld/software/SASmacro/IN.zip with syntax: %IF %IN (INlist=toby dunn tree frog, CheckVar=&Something) etc. Note that it needs macro values, not SAS variable values!

Regards - Jim. -- Jim Groeneveld, Netherlands Statistician, SAS consultant home.hccnet.nl/jim.groeneveld

On Wed, 9 May 2007 23:40:22 -0700, RolandRB <rolandberry@HOTMAIL.COM> wrote:

>On 10 May, 07:22, Tree Frog <tree.fr...@hotmail.com> wrote: [.........] >> > From: Tree Frog <tree.fr...@HOTMAIL.COM> >> > Reply-To: Tree Frog <tree.fr...@HOTMAIL.COM> >> > To: S...@LISTSERV.UGA.EDU >> > Subject: Did "%in" ever get implemented? >> > Date: Wed, 9 May 2007 21:03:36 -0700 >> >> > Hi y'all >> >> > Today I looked at a few old posts where someone was suggesting that >> > the "long awaited" "%in" macro function would be implemented one day. >> > Has this happened, or is there an elegant workaround? >> >> > Ta >> >> > TF [.........] > >%if %index("toby" "dunn" "tree" "frog", "&somethingelse") %then >%do; ..


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