Publication date: 04/12/2021

Named Namespaces

You can also create a variable in a specific namespace. In the following example, the x variable is created in the aa namespace:

aa:x = 1;

Preceding local variables with the Local() function is another option. Both a and b are local variables in the following expression:

Local( {a = 1, b}, ... );

Scoping operators also distinguish a global variable from a local variable. See Rules for Name Resolution.

The following sections describe functions that help you manage variables.

Want more information? Have questions? Get answers in the JMP User Community (