The Local Environment Object (.local)

The Local environment object is is a directory of process-specific objects that are always accessible. To place something in the Local environment directory, use the form:
.local~your.object = value

Be sure to include a period (.) in any object name you use, to avoid conflicts with current or future REXX entries to the Local directory. To retrieve your object, use the form:

say .local~your.object

The scope of .local is the current process. To give your object definition wider retrievability, place it in .environment, where the object will be shared across environments.

Access objects in the Local environment object the same way as in the Environment object. REXX provides the following objects in the Local environment: