xpxExpressionAssignToTemporaryVariables
FUNCTION xpxExpressionAssignToTemporaryVariables(tempVariable1 : STRING; expression1 : GENERIC; assignOperator1 : INTEGER; tempVariable2 : STRING; expression2 : GENERIC; assignOperator2 : INTEGER; tempVariable3 : STRING; expression3 : GENERIC; assignOperator3 : INTEGER; tempVariable4 : STRING; expression4 : GENERIC; assignOperator4 : INTEGER; tempVariable5 : STRING; expression5 : GENERIC; assignOperator5 : INTEGER; tempVariable6 : STRING; expression6 : GENERIC; assignOperator6 : INTEGER; tempVariable7 : STRING; expression7 : GENERIC; assignOperator7 : INTEGER; tempVariable8 : STRING; expression8 : GENERIC; assignOperator8 : INTEGER; tempVariable9 : STRING; expression9 : GENERIC; assignOperator9 : INTEGER; tempVariable10: STRING; expression10 : GENERIC;assignOperator10 : INTEGER) rstat : INTEGER;
Function to assign a value to one or more specified EDMtemporaryVariables. 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 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. The function has variable number of arguments, i.e., it can be invoked with a minimum of 3 arguments and a maximum of 30 arguments and the number of arguments must be modulo 3.
Â
Arguments
1 | Type | Name | Comment |
2 | STRING | tempVariable1 - tempVariable10 | 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 | GENERIC | expression1 - expression10 | The actual data value that will be assigned to the EDMtemporaryVariable defined by the related "tempVariable" argument. This argument must be specified in one of the following ways:
This EDMruntimeExpression will then be evaluated and the result will be used in the actual assignment operation. |
4 | INTEGER | assignOperator1 - assignOperator10 | Optional argument. Default value is xpxASSIGN_OPER This argument defines the assign operator for the actual assignment operation The available assign operators are xpxASSIGN_OPER (":=") and xpxASSIGN_PLUS_PLUS ("++"). The xpxASSIGN_PLUS_PLUS is only applicable for aggregate data types. Â |
Return Value
Options
Â
Example
<Missing Example>
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â