xpxDefineTemporaryVariablesEx
FUNCTION xpxDefineTemporaryVariablesEx(modelId : GENERIC; variablesDeclaration : STRING; options : 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. The EDMtemporaryVariables can be accessed by name in any EDMruntimeExpression. An EDMruntimeExpression is an expression that defined and decoded (compiled) at run time of an EDMexpressX schema.
Example of accessing EDMtemporaryVariables: xpfDecodeExpression(), xpfEvaluateExpression(), "condition" argument in xpfSelectInstancesBN(), ...
This function can be invoked with 2 or 3 arguments;
Arguments
1 | Type | Name | Comment |
2 | GENERIC | modelId | Optional argument. Default value is xpxTargetModelId.This argument defines the actual data model used in the decoding of the actual "variablesDeclaration". |
3 | STRING | variablesDeclaration | This argument should be a string that defined any number of EDMtemporaryVariables`in the same way as in any EDMexpressX schema, i.e., the syntax is identical as in the EDMexpressX language. There may be any number of "LOCAL - END_LOCAL;" and/or "GLOBAL - END_GLOBAL;" declaration in this argument. The order of the "LOCAL - END_LOCAL;" and "GLOBAL - END_GLOBAL;" declarations are insignificant. |
4 | INTEGER | options | Optional argument. The default value is INDETERMINATE (?). No options currently available. |
Return Value
Options
Â
Example
<Missing Example>
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â