The Constraints Paragraph
The Constraints paragraph allows specification of properties of
parameters of a parameterized class, and therefore allows the use of methods or
properties on data items whose type is specified as that parameter.
General Format
CONSTRAINTS. [ CLASS parameter-name-1 IMPLEMENTS {class-name-1) ... ] ... .
Syntax Rules
- Parameter-name-1 must be a parameter of the class in which this
Constraints paragraph is specified.
General Rules
- Items whose type is specified as parameter-name-1 may be
specified where an item of class class-name-1 is required.
- Items whose type is specified as parameter-name-1 have all the
methods and properties of a class-name-1.