xpfGetTemporaryVariableValue
FUNCTION xpfGetTemporaryVariableValue(tempVariable : STRING; options : INTEGER) value : GENERIC;
Function to get the value of an EDMtemporaryVariable. An EDMtemporaryVariable is a LOCAL or GLOBAL variable in an EDMexpressX schema that is defined at run-time in an EDMvmSession. Hence, an EDMtemporaryVariable cannot be referenced by name in the source code of the actual EDMexpressX schema, since such variables are not known at compile time. An EDMtemporaryVariable is only known in the EDMsession that defines it, i.e., all EDMtemporaryVariables are deleted when an EDMvmSession is closed. The function has variable number of arguments, i.e., it can be invoked with a minimum of 1 argument and a maximum of 2 arguments.
Arguments
1 | Type | Name | Comment |
2 | STRING | tempVariable | The name of the EDMtemporaryVariable to get the value of. The actual EDMtemporaryVariable must be in scope of code that invokes the xpfGetTemporaryVariableValue() function. |
3 | INTEGER | options | Optional argument. Default value is xpxLOCAL_VARIABLE |
Return Value
Â
Type | Name | Comment |
GENERIC | value | The data value of the actual EDMtemporaryVariable is returned when the function is successfully performed, else the value INDETERMINATE (?) is returned. Exception handling should be used to handle error conditions in the actual xpfGetTemporaryVariableValue() operation. |
Options
Option | Comment |
xpxLOCAL_VARIABLE | The actual EDMtemporaryVariable should be in the LOCAL scope |
xpxGLOBAL_VARIABLE | The actual EDMtemporaryVariable should be in the GLOBAL scope |
Â
Example
<Missing Example>
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â