Date: Mon, 25 Nov 2002 08:57:09 -0500
Reply-To: "Karl K." <karlstudboy@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Karl K." <karlstudboy@HOTMAIL.COM>
Subject: Re: macro resolution inside *-comments
If I'm reading you correctly, I'm not really seeing a "comment". An
asterisk denotes a comment at the beginning of a STATEMENT, not the
begining of a line of text. There's no semi-colon after "%bad", so the
next line isn't really a comment.
(The following code is untested.)
For example, if we define %bad as something like:
%str(proc freq; table x); *note no semicolon inside the %str function;
Then the SAS code:
proc freq; table x * whatever;
Perfectly legal executable code, without any comments, right?
"* whatever" is part of the table statement in proc freq, not a comment.
If I'm missing your point, my apologies