HP Pascal/iX Programmer's Guide (31502-90023)

2-: 2
Program Block
The program block consists of an optional declaration part and a
statement (executable) part.
The declaration part defines whatever labels, constants, data types,
variables (including program parameters), procedures, functions, or
modules you want. It can also redefine standard constants, data types,
variables, and routines in the declaration part; however, if you do
redefine them, you cannot use their original definitions. You cannot
redefine reserved words. For a list of HP Pascal reserved words, refer
to the
HP Pascal/iX Reference Manual
or the
HP Pascal/HP-UX Reference
Manual
, depending on your implementation.
The statement part is a compound statement (for the definition of
compound statement,
see the
HP Pascal/iX Reference Manual
or the
HP
Pascal/HP-UX Reference Manual
, depending on your implementation).
Example