skip to main
|
skip to sidebar
sas and modeling
Thursday, September 3, 2009
sas macro usage (1)
Problem:
For the following macro, which usage(s) are correct?
%macro add_xsh(a, b=10);
%global result;
%let result=%sysevalf(&a+&b);
&result
%mend add_xsh ;
%let c=%add_xsh(3, b=20);
%let c=%add_xsh(3, 20);
%let c=%add_xsh(3);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
▼
2009
(4)
▼
September
(4)
create a key for a dataset (1)
sas macro usage (1)
adding records between sas dataset records (3)
First not the last
About Me
xhs
View my complete profile
No comments:
Post a Comment