Skip to main content

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

Parameters

NameTypeCommentKind
setISetforeign set to intersect withinput

Code

Declaration

METHOD intersect :CNM_ReturnTypes.SingleExecutionResult
VAR_INPUT
(*foreign set to intersect with*)
set :ISet;
END_VAR