UNDEFINEDCELLVALUE
UNDEFINEDCELLVALUE returns the default numeric cube value, which is influenced by the presence of the UNDEFVALS declaration in that cube's rule.
This function is valid in both rules and TurboIntegrator processes.
Syntax
UNDEFINEDCELLVALUE(<Cube>)
Arguments
Argument |
Description |
---|---|
Cube |
An optional String argument that specifies the cube whose default value should be returned. When UNDEFINEDCELLVALUE is used in a rule, the cube is assumed to be the subject cube unless otherwise specified. When used in a process, a cube should be specified. If the cube is omitted in a process, or is not valid when specified, 0 will be returned. |
Example
UNDEFINEDCELLVALUE returns 0 when used in the rule of a cube without UNDEFVALS declared, or when used in a process.
UNDEFINEDCELLVALUE returns the special undefined value when used in the rule of a cube with UNDEFVALS declared.
UNDEFINEDCELLVALUE('ExampleCube')
returns the default value of
ExampleCube or 0 if ExampleCube does not
exist.