merge
Short summary
overwrites the content of this set with the union of this set and the given set Set union: Combination of all elements from two sets.
Example: Set A = 4 Set B = 4
Union of A and B: 6
Return: SUCCESS: if merge completed
```SingleExecutionResult.ABORTED``: foreign set wasn't valid
- Return type: CNM_ReturnTypes.SingleExecutionResult
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| set | ISet | foreign set to merge with | input |
Code
Declaration
METHOD merge :CNM_ReturnTypes.SingleExecutionResult
VAR_INPUT
(*foreign set to merge with*)
set :ISet;
END_VAR