SAS macro语言中,理解 宏变量 ( macro variables )的作用域(the scope)是十分重要的, 宏变量 的作用域决定着该变量的赋值(assign)及宏处理器(macro processor)对该变量的...
基于34个网页-相关网页
宏变量会被“就地”扩展,其所产生的文本字符串还可以进一步的扩展。
A macro variable is expanded "in place" to yield a text string that may then be expanded further.
把 #undef 宏改为 #define,把变量类型设置为 int(见 清单 2)。
Change the #undef macros to #define and set the variable types to int (see Listing 2).
在宏内开头定义DATABASE变量告诉它要连接到哪一个数据库。
Define a database variable initially within the macro to tell it which database to connect to.
应用推荐