Derived Types
The syntax for a derived type is:
type identifier is new type_name [type_constraint];
Syntax Notes:
1. The type_name must be a predeclared type, whether it is a full type declaration or an incomplete type declaration.
2. EQUEL assigns the type being declared the same properties as the type_name specified. The preprocessor will make sure that any variables of a derived type are cast into the original base type when used with the runtime routines.
3. The type_constraint has the same rules as other type declarations.
The following example illustrates the use of the derived type:
## type Dbase_Integer is new Integer;