$var, $variable
Returns the variable object at the given name. The name resolution is done given an execution context.
See also $, $val, $value, $id, $identifier.
Syntax
$var(name)
// alternate syntax
$variable(name)
Parameter |
Description |
---|---|
|
The name that identifies the variable. |
Examples
Get the variable with name DO_YOU_SMOKE.
$var('DO_YOU_SMOKE')