在这个循环里 month就是13 在其他方式里面就是12 为什么呢?
1.data WORK.SALES;
do Year=1 to 5;
do Month=1 to 12;
X + 1;
end;
output;
end;
run;
proc print;run;
The SAS System |
Obs Year Month X
1 1 13 12
2 2 13 24
3 3 13 36
4 4 13 48
5 5 13 60