该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


There are a number of factors in resolving a named variable reference. Namespace References describes the named variable references that are resolved for specific situations.
注意: 
In JMP 9 and later, a, :a, and ::a have the same meaning with the Names Default To Here mode turned off.
If the Names Default To Here mode is on, JMP looks for the variable in these locations:
Local namespace
Here namespace
If the Names Default To Here mode is off, JMP looks for the variable in these locations:
Local namespace
Here namespace
Global namespace
If the Names Default To Here mode is on, then JMP creates the variable in the Local namespace or in the Here namespace.
If the Names Default To Here mode is off, then JMP creates the variable in the Local namespace or in the Global namespace.
JMP looks for the variable in the encapsulating Context Box namespace contained in a New Window window.
JMP creates the variable in the encapsulating Context Box namespace contained in a New Window window.
Local( {d1l1 = 12},
local:f1f1 = Function( {fa1, fa2},
Local( {d2l1 = 56},
Show( fa12 );
Show( fl1 );
Try( Show( d1l1 ), Write( "\!n\!n***Error=" || Char( exception_msg ) || "\!n" ) );
Show Symbols();
f1f1( 2, 3 );