Ch 5. The Declaration Section [ HP Pascal/iX Reference Manual ] MPE/iX 5.0 Documentation
HP Pascal/iX Reference Manual
Chapter 5 The Declaration Section
The first two parts of an HP Pascal block are the heading and the
declaration section. The heading specifies the name of the program,
module, procedure, or function. The declaration section contains
sections that define constants and user-defined types, and sections that
declare labels, variables, procedures, functions, and modules. Each of
these sections is introduced by an appropriate reserved word such as
LABEL, CONST, IMPORT, MODULE, TYPE, VAR, PROCEDURE, or FUNCTION. A block
need not include all of these sections. In HP Pascal, CONST, TYPE, VAR,
MODULE, and IMPORT declaration sections can be intermixed and must follow
label declarations and precede function or procedure declarations.
This chapter describes constant definitions, label declarations, type
definitions, and variable declarations. For information on procedure,
function, module, and import declarations, see Chapter 7 .
MPE/iX 5.0 Documentation