Script variable reference

Provides a reference for the syntax of script variables in OPL.

Table 1. Reference syntax of script variables
Syntax Effect
variable Returns the value of variable. See Identifiers for the syntax of script variables. If variable does not exist, an error is signalled. This is not the same as referencing an existing script variable whose value is the undefined value, which is legal and returns the undefined value. When used in the body of a with statement, a variable reference is first looked up as a property of the current default value.