xpxDefineTemporaryVariables
FUNCTION xpxDefineTemporaryVariables(tempVariable1 : STRING; value1 : GENERIC; options1 : INTEGER; tempVariable2 : STRING; value2 : GENERIC; options2 : INTEGER; tempVariable3 : STRING; value3 : GENERIC; options3 : INTEGER; tempVariable4 : STRING; value4 : GENERIC; options4 : INTEGER; tempVariable5 : STRING; value5 : GENERIC; options5 : INTEGER; tempVariable6 : STRING; value6 : GENERIC; options6 : INTEGER; tempVariable7 : STRING; value7 : GENERIC; options7 : INTEGER; tempVariable8 : STRING; value8 : GENERIC; options8 : INTEGER; tempVariable9 : STRING; value9 : GENERIC; options9 : INTEGER; tempVariable10 : STRING;value10 : GENERIC;options10 : INTEGER) status : INTEGER;
Function to define one or more EDMtemporaryVariables. An EDMtemporaryVariable may be in the global scope or in the local scope. The global scope is the same as the GLOBAL variables in an EDMexpressX schema and the local scope is the same as LOCAL variables in an EDMexpressX schema. Any number of EDMtemporaryVariables can be defined in an EDMvmSession. An EDMtemporaryVariable exists only in the actual EDMvmSession it is defined in, i.e., all existing EDMtemporaryVariables will be deleted at the end of an EDMvmSession. This function can optionally assign an initial value to the defined EDMtemporaryVariables. The EDMtemporaryVariables can be accessed by name in any EDMruntimeExpression. An EDMruntimeExpression is an expression that is defined and decoded (compiled) at run time of an EDMexpressX schema. Example of accessing EDMtemporaryVariables: xpfDecodeExpression(), xpfEvaluateExpression(), "condition" argument in xpfSelectInstancesBN(), ...
This function has variable number of arguments, i.e., it can be invoked with a minimum of 3 arguments and a maximum of 30 arguments. The number of arguments must be modulo 3.
Arguments
1 | Type | Name | Comment |
2 | STRING | tempVariable1 - tempVariable10 | This argument defines the name of the new EDMtemporaryVariable. The name syntax is as for an identifier in the EDMexpressX language. Each EDMtemporaryVariable must have a unique name within its scope, i.e., global EDMtemporaryVariable or local EDMtemporaryVariable. These EDMtemporaryVariable names are case insensitive. |
3 | GENERIC | value1 - value10 | Optional argument. The default value is INDETERMINATE (?). This argument defines the initial value of the EDMtemporaryVariables defined in the "tempVariable" argument. |
4 | INTEGER | options1 - options10 | Optional argument. Default value is xpxLOCAL_VARIABLE |
Return Value
Options
Option | Comment |
xpxLOCAL_VARIABLE | The actual EDMtemporaryVariable will be in the LOCAL scope |
xpxGLOBAL_VARIABLE | The actual EDMtemporaryVariable will be in the GLOBAL scope |
Â
Example
<Missing Example>
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â