7. Embedded QUEL for Pascal : Pascal Variables and Data Types : Variable and Type Declarations : Renaming Type Definition
 
Share this page                  
Renaming Type Definition
The declaration for the renaming of a type uses the following syntax:
type new_type_name = type_name;
Syntax Notes:
1. The type_name must be either an EQUEL/Pascal type or a type name already declared to EQUEL such as integer or real.
2. The new_type_name cannot be integer, real, or char, or any other type listed at the beginning of this section.
##  type
##  NaturalInt = Integer; {A "natural" sized integer}