| 
 | 
楼主
 
 
 楼主 |
发表于 2013-9-23 16:13:15
|
只看该作者
 
 
 
Symput 与 symputx 的区别
call symputx用法基本与call symput相同,但call symputx多了一个参数可以直接指定宏变量的symbol table,如下: 
 
CALL SYMPUTX(macro-variable, text<,symbol-table>) 
 
The third argument is optional and it tells the macro processor the symbol table where the macro variable should be stored, and it can be one of three values: 
 
G, 定义宏变量在global中,即使local存在。 
L, 定义宏变量在最内层的local中。当该宏程序未执行时,不存在local,此时最内层的就是global了,宏变量存储于其中。 
F, 定义宏变量可以在任何symbol table中。CALL SYMPUTX 会更新包含该变量的最内层的local,所有的local都不存在是,在最内层local建立存储该宏变量。 
尤其需注意使用“L”和“F”的区别。 |   
 
 
 
 |