GetReturnValue
(Engine-Level Function)
| Description: | Returns a module's return value. |
| Returns: | Varies |
Usage: ![]() |
Script or steady state. |
| Function Groups: | Compilation and On-Line Modifications, Basic Module |
| Related to: | Return | ResetParm |
Format: ![]() |
GetReturnValue(Object) |
| Parameters: |
| Object |
| Required. An object expression for the module instance whose return value is required. |
| Comments: | While the description seems redundant, this function is useful for obtaining a return value from a module that has been called as a parameter to another module, and whose return value has been or will be altered by a ResetParm statement. |
Example:
A typical use:
SubReturn [
If 1 Main;
[
Return(GetReturnValue(Self), FALSE);
]
]
