Standard (ISO/IEC 7185) Pascal requires that all declarations/definitions of the same kind must be made together in a single group and that the groups must appear in a specific order. The order required by Standard Pascal is:
Label declaration group
Constant definition group
Type definition group
Variable declaration group
sub-block declaration group
When this extension is enabled (the default), there can be more than one of each kind of group and groups can appear in any order except that, for declarations local to a function or procedure, the sub-block declaration group must be last.
See the Irie Pascal Programmer's Reference Manual for more information.