This HP Pascal/HP-UX Programmer's Guide
for the Hewlett-Packard HP Pascal/iX and HP Pascal/HP-UX programming
languages is intended for programmers with at least six months of
Pascal programming experience, but no HP Pascal/iX or HP Pascal/HP-UX
programming experience. It discusses selected HP Pascal/iX and HP
Pascal/HP-UX topics in detail, and explains statement interaction
where necessary. It does not explain every feature of HP Pascal/iX
or HP Pascal/HP-UX, as the HP Pascal/HP-UX Reference
Manual does.
MPE/iX, Multiprogramming Executive with Integrated POSIX,
is the latest in a series of forward-compatible operating systems
for the HP 3000 line of computers.
In HP documentation and in talking with HP 3000 users, you
will encounter references to MPE XL, the direct predecessor of MPE/iX.
MPE/iX is a superset of MPE XL. All programs written for MPE XL
will run without change under MPE/iX. You can continue to use MPE
XL system documentation, although it may not refer to features added
to the operating system to support POSIX (for example, hierarchical
directories).
Finally, you may encounter references to MPE V, the operating
system for HP 3000s. MPE V is not based on the PA-RISC architecture;
however, MPE V software can be run on the PA-RISC (Series 900) HP
3000s in what is known as compatibility mode.
Throughout this manual, the term HP Pascal refers to both
HP Pascal/iX and HP Pascal/HP-UX. The following is a short description
of each chapter and appendix.
- Chapter 1
Describes HP Pascal/iX and HP Pascal/HP-UX and explains
their relationship to HP Standard Pascal and its subsets.
- Chapter 2
Describes HP Pascal program structure in terms of
syntax and compilation units, and explains how your program can
interface with its external environment.
- Chapter 3
Explains how program input/output works.
- Chapter 4
Gives the ranges of the predefined data types of
HP Pascal and explains the types which HP Pascal does not share
with older Pascal implementations.
- Chapter 5
Explains how HP Pascal allocates space for and aligns
static data structures.
- Chapter 6
Explains dynamically allocated HP Pascal data structures.
- Chapter 7
Discusses HP Pascal parameters.
- Chapter 8
Explains procedure options, which allow routines
to have optional parameters and default parameter values.
- Chapter 9
Explains how your program can use external routines.
- Chapter 10
Explains how your program can use intrinsics.
- Chapter 11
Explains how to write error recovery code that allows
your program to handle its own run-time errors. Explains how to
debug your program.
- Chapter 12
Explains how to use the optimizer to improve your
program.
- Appendix A
Explains how HP Pascal/iX works on the MPE/iX operating
system.
- Appendix B
Explains how HP Pascal/HP-UX works on the HP-UX
operating system.
Refer to the following manuals for further information on
HP Pascal:
HP Pascal/HP-UX Reference
Manual (92431-90005)
HP Pascal/HP-UX Migration Guide
(92431-90004)
This manual also refers to the following non-HP Pascal manuals:
ALLBASE/SQL Pascal Application
Programming Guide (36216-90007)
HP C Programmer's Guide (92434-90002)
HP Link Editor/XL Reference Manual (32650-90030)
HP System Dictionary/XL General Reference
Manual (32256-90004)
HP TOOLSET/XL Reference Manual (36044-90001)
HP-UX Floating-Point Guide
(B2355-90024)
HP-UX Reference (B2355-90004)
Introduction to MPE XL for MPE V Programmers (30367-90005)
MPE/iX Commands Reference Manual, Volumes
1 and 2
(32650-90003 and 32650-90364)
MPE/iX Intrinsics Reference Manual (32650-90028)
MPE/iX Symbolic Debugger User's Guide (31508-90003)
MPE/iX System Debug Reference Manual (32650-90013)
Programming on HP-UX (B2355-90026)
Switch Programming Guide (32650-90014)
Trap Handling Programmer's Guide (32650-90026)
TurboIMAGE/XL Reference Manual (30391-90001)
Using VPLUS/V: Introduction to Forms
Designs
(32209-90004)
If you have suggestions for improving this manual, please
send us the Reader Comment Card, located at the front of this manual.