o******6 发帖数: 538 | 1 ☆─────────────────────────────────────☆
careerchange (Stupid) 于 (Thu Mar 19 11:19:58 2009) 提到:
In a macro, it seems that %eval(1+2) is fine, but
not %eval(1.5+0.1). How to get 1.6 from 1.5+0.1
in macro (not in data step)? Thanks.
☆─────────────────────────────────────☆
careerchange (Stupid) 于 (Thu Mar 19 11:26:35 2009) 提到:
An example is as following. The first call of %dat1 works.
How to make the second call work?
%macro dat1(num);
data one;
x=&num.;
run;
proc print data=one; run;
%m |
|