March 2000
Intermediate to advanced
576 pages
18h 13m
English
Include Procedure
procedure Include(var ASet:Set type; Value:Ordinal type);
The Include
procedure adds the element
Value to the set variable ASet.
The type of Value must be the base type of
ASet. Include is not a real
procedure.
Note that you cannot use a property for the set reference because a
property value cannot be used as a var parameter.
Instead, use the + operator to add the member to
the set, as shown below:
Font.Style := Font.Style + [fsBold];
See the Exclude procedure for an example.
| Exclude Procedure, In Keyword, Set Keyword |
Read now
Unlock full access