由买买提看人间百态

topics

全部话题 - 话题: varix
(共0页)
h***i
发帖数: 115
1
来自主题: Statistics版 - Help Please! SAS Advanced 考证题求助
书上的例子
1. p403
%macro counts (cols=_all_,rows=,dsn=all);
proc freq data=&dsn;
tables
%if &rows ne %then &rows * ; (为什么这里需要 ; ) ???
&cols;
run;
%mend counts;
%counts(dsn=all,cols=paid,rows=course_number)
2. P394 point 7
%macro outer;
%local variX;
%let variX=one;
%inner
%mend outer;
%macro inner;
%local variY;
%let variY=&variX;
%mend inner;
%let variX=zero;
%outer
书上说when executes macro Inner, the local Macro variable variY is assigned
the other local macro variabl
(共0页)