Removes a member from a set.
NewSet = SetRemoveMember (Set, SetMember)
Variable | Description |
---|---|
NewSet | The returned set after removing the specified member. SET. |
Set | The set from which a member is to be removed. SET. |
SetMember | The set member to be removed from Set—one of the values defined for this data type in its type...is set declaration. SET. |
If SetRemoveMember determines that SetMember is not in Set, the NewSet returned is the same as Set. You can also use the minus (-) operator for this operation. The following statement is the equivalent of the SetRemoveMember statement in the following example:
COLORS MyColors = WindowColors - Purple
COLORS WindowColors COLORS MyColors = SetRemoveMember (WindowColors, Purple)