Show: Delphi C++
Display Preferences

System.Include

From XE2 API Documentation
Jump to: navigation, search

Delphi

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

Contents

Properties

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

Description

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

Personal tools
Previous Versions
Translations