My company wrote our IN macro because its easier for our clients who may be
maintaining the programs we wrote to see something like
%if %in(&y, A B C) %then ...
than using delimters as below. Its a matter of coding clarity more than
anything else. I don't think that the syntax
%if &y IN A B C %then %do
really makes it as clear
Oh well, I haven't needed either the IN macro or to use # at my current
client that I can recall, but I'll still have to spend a few hours checking
On Thu, 26 Feb 2004 16:24:44 -0500, Chang Y. Chung
>Who needs the macro operator IN any way? I have been happy with %index,
> %if %index(#a#b#c#, #&this.#) %then %put found;
> %else %put not;
>Frankly, I am for removing in and # all together from the macro language.
||2/26/2004 9:38:50 PM