Previous: 4.67.2.40. Inc procedure To the Table of Contents Next: 4.67.2.42. Insert procedure
4.67.2.40. Inc procedure Table of Contents 4.67.2.42. Insert procedure

- 4.67.2.41. -
Table of Contents
4. Standard Units
4.67. System - Built-in routines
4.67.2. System Unit Procedures and Functions
4.67.2.41. Include procedure


4.67.2.41. 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: 4.67.2.40. Inc procedure To the Table of Contents Next: 4.67.2.42. Insert procedure
4.67.2.40. Inc procedure Table of Contents 4.67.2.42. Insert procedure

- 4.67.2.41. -