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:
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
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