【发布时间】:2016-11-16 20:27:48
【问题描述】:
我有这个条件宏,编译时没有错误,但逻辑似乎不起作用。如果 hours 小于 2,则应打印“not enough”,如果 2 或更多,则应打印“enough hours”之类的内容。
%macro methours;
%if hours lt 2 %then footnote 'does not meet requirement ';
%else
footnote ' is enough study hours ';
%mend methours;
【问题讨论】:
标签: macros sas conditional