Parameter Usage Summary |
DEVELOPER |
The implications of different uses are outlined below.
A Task parameter can be mapped to any function parameter or COMM variable.
The usage of a Task parameter determines whether any changes to its value (caused by changes to its image in the TGDA) gets passed back to the caller.
The usage of a function parameter determines whether any changes to its image in the TGDA are made on Function Exit.
Function parameters mapped to TGDEs always have Both usage as far as updating the TGDA is concerned. However, you can neither directly initialise a TGDE from a Task parameter, nor directly return the value of a TGDE as a Task parameter. Note that TGDEs are only available in component mode.
You can map a function parameter from an array to an array; you can map a function scalar (a variable that is neither a whole array nor an array element) to a scalar Task parameter.
Topic ID: 540106