Previous: Inc procedure To the Table of Content Next: Insert procedure

- 4.62.2.41 -
Standard Units
System Unit
System Unit Procedures and Functions

Include procedure

Targets: MS-DOS, OS/2, Win32


System Unit

Includes an element in a set.

Declaration:
procedure Include(var S: set of T; I:T);
Remarks:
S is a set type variable, and I is an expression of a type compatible with the base type of S. The element given by I is included in the set given by S.

The following construction
  Include(S, I)
corresponds to
  S := S + (I)
but the Include procedure generates more efficient code.


Previous: Inc procedure To the Table of Content Next: Insert procedure
Inc procedure Table of Content Insert procedure

- 4.62.2.41 -