From RAD Studio API Documentation
Jump to: navigation, search


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


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


Adds an element to a Delphi set.

When the first argument of Include is a set type variable, Include adds an element to the set. The Include(S,I) expression corresponds to S := S + [I], where S is a set type variable and I is an expression of a type compatible with the base type of S. The Include procedure generates more efficient code than would have been obtained by using the plus (+) operator.

See Also

Code Examples