intersect
Short summary
overwrites the content of this set with the intersection of this set and the given set Set intersection: Common elements between two sets.
Example: Set A = 4 Set B = 4
Intersection of A and B: 4
Return: SingleExecutionResult.SUCCESS: if intersect is complete
SingleExecutionResult.ABORTED: foreign set wasn't valid
- Return type: CNM_ReturnTypes.SingleExecutionResult
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| set | ISet | foreign set to intersect with | input |
Code
Declaration
METHOD intersect :CNM_ReturnTypes.SingleExecutionResult
VAR_INPUT
(*foreign set to intersect with*)
set :ISet;
END_VAR