Date: Mon, 9 Jan 2006 11:39:38 -0500
Reply-To: Jim Groeneveld <jim1stat@YAHOO.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <jim1stat@YAHOO.CO.UK>
Subject: Re: semicolon behind macro calls
Content-Type: text/plain; charset=ISO-8859-1
A macro generally generates SAS code including all the necessary
semicolons. So, ending a macro with a semicolon may produce an extra one,
which in general is not harmful. But in certain cases it may explicitly be
necessary to omit the semicolon, e.g. if the macro generates partial SAS
Regards - jim.
Jim Groeneveld, Netherlands, Statistician and SAS programmer
My computer always teaches me something new I thought I knew already.
On Mon, 9 Jan 2006 16:16:30 +0100, Rune RunnestÝ <rune@FASTLANE.NO> wrote:
>I have used macro calls for some years, and have never experienced any
>problems even though I have ended the macro calls with a semicolen. I have
>read that it is a good habit not to end a macro call with a semicolon, but
>why is that ?
>%mymacro ; <--obs