|Date: ||Mon, 5 Jun 2000 16:48:23 -0700|
|Reply-To: ||Annie Chang <chang5a@YAHOO.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Annie Chang <chang5a@YAHOO.COM>|
|Subject: ||passing equal sign as a parameter in macro|
|Content-Type: ||text/plain; charset=us-ascii|
I think i have a hard question:
%macro test ( var);
%test ( "new = 3");
What I am doing here? I am trying to pass an equal
sign "=" to the macro.
(don't complain about the silly example, I make it up
so that my question
is easier to explain). But it doesn't work. Since if I
"new = 3";
the quotation marks become errors. However, if I just
call it like
%test ( new = 3);
sas will complain that there is no key parameter as
'new'. i.e., sas treats
the equal sign as a default definition for a
parameter, and won't pass the
whole thing 'new = 3' to &var.
I tried all those quote functions but to no avail.
Need an expert in SAS
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!