SAS中文论坛

标题: %if-%then-%else语句和if-then-else语句的不同 [打印本页]

作者: shiyiming    时间: 2008-8-28 09:45
标题: %if-%then-%else语句和if-then-else语句的不同
[b:1ct2ce9z]请教一下,同样的语句,比如说题目中提到的"%%if-%then-%else"和"if-then-else"除了前者只用于macro,后者用于data step之外,在功能方面有什么不同?
同理,对于data step中有的语句,如left, upcase对应的macro语句%left和%upcase等等,它们在功能方面有什么不同?[/b:1ct2ce9z]
作者: shiyiming    时间: 2008-8-29 10:27
标题: Re: %if-%then-%else语句和if-then-else语句的不同
When you understand the concept of executing phase about MACRO and PLAIN SAS CODE then you can understand the difference.




欢迎光临 SAS中文论坛 (https://mysas.net/forum/) Powered by Discuz! X3.2