请教各位高手。在SAS中存在宏的条件语句 %if %then %else。但是这样判断的条件比较少。
尝试以下语句都行不通:
1.
%if %then
%else %if %then
...
2. 嵌套的
%if %then %do ... %end;
%else %do;
%if %then do% ... %end;
%else %do...%end;
请问在宏里面怎样实现多条件的语句?