From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure Exclude(var S: Set; I: Ordinal);


Type Visibility Source Unit Parent
procedure public System.pas System System


Removes an element from a Object Pascal set.

When the first argument of Include is a set type variable, the Exclude procedure removes an element from the set. If S is a set type variable and I is an expression of a type compatible with the base type of S, then Exclude(S,I) corresponds to S := S - [I]. However, the Exclude procedure generates more efficient code.

See Also

Code Examples