System.Exclude

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Exclude(var S; I: Integer);

Properties

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

Description

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