As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tip of the Day:February 12

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

%* In open code the macro
%* variable &X is NOT created;
*%let x = 5;
 
%macro abc;
%* Macro variable &Y IS created;
*%let y = 5;
%put &y;
%mend abc;
%abc *;

It is not unusual for programmers to use the asterisk-style comment to comment-out macro statements, however this technique does not always work. Be sure to use a macro comment when commenting out macro statements.


Submitted by Art Carpenter. Contact me at my Discussion Page.



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip