From RAD Studio API Documentation
Jump to: navigation, search


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


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


Removes an element from a Delphi 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