| Date: | Wed, 27 Jan 1999 20:18:49 -0500 |
| Reply-To: | Brian Rosson <brosson@VOYAGER.NET> |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | Brian Rosson <brosson@VOYAGER.NET> |
| Organization: | Voyager Information Networks - East Lansing, MI |
| Subject: | Semicolon to end a macro call? |
|---|
When calling a macro I thought it was proper SAS code to not use a
semicolon. When reading SAS Macro Tips and Techniques, about 50% of the
time the programmer used a semicolon to end a macro call. Example:
%macro test;
....<code here>...
%mend test;
%test <no semicolon>
%test; <semicolon>
These contributions to this book were from SUGI 14 through 18 so I assume
(maybe mistakenly) that these programmers know what they're talking about
and would not use sloppy or incorrect code. What would be the reason for
use a semicolon after a macro call? Any comments, thoughts or suggestions
are welcome.
Thank you,
Brian Rosson
Parke-Davis Pharmaceutical Research
Ann Arbor, Michigan
|