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


Variables are names that hold values, which you reference later in scripts. There are two types of variables:
Global variables are shared among all scripts that you run in a JMP session.
Local variables apply only to the script context in which you define them. They can also be local to only a piece of a script, as with variables local to a particular function.
To limit the scope of variables, you can define them in a namespace, which is a collection of variables, functions, and other unique names. JMP has a single global variable namespace that all scripts use by default. When you use a name plainly, without a qualifying syntax, the name is an unscoped variable and therefore in the global namespace.