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

B- 1
Appendix B HP-UX Dependencies
This appendix explains how the HP Pascal compiler works on the HP-UX
operating system. It explains:
* How HP-UX affects system dependent HP Pascal features.
* HP-UX extensions to HP Pascal.
* How to compile, prepare, and run your HP Pascal program on HP-UX.
System Dependent Features
System dependent features are available to all HP Pascal programs
(regardless of the system on which the compiler is running), but the
system affects their definitions and behavior. System dependent HP
Pascal features fall into these categories:
* Compiler options.
* File names.
* Input/output.
* Miscellaneous.
Compiler Options
The following compiler options are available to programs compiled by the
HP Pascal compiler running on either the HP-UX or MPE/iX operating
system, but they work differently on the two systems.
INCLUDE
SYMDEBUG
See the
HP Pascal/HP-UX Reference Manual
for more information on these
compiler options.
File Names
Syntax
[/][
pathname
]... {
identifier
}
Parameter
pathname
Refer to the
HP-UX Reference
for syntax of
pathname
.
identifier
The name of the main source file must end with
".p". Included files need not end with ".p".
Example
x.p
Pascal/tsource/tabort.p
/mnt/shankar/junk/t.p
For more information on HP-UX file names, refer to the
HP-UX Reference
manual.
NOTE The HP-UX operating system is case-sensitive. HP Pascal is not
case-sensitive, except within string literals (such as "HP Pascal")
and when you open a file without explicitly associating it with a
physical file (that is, when you do not specify the second
parameter to
open
or
reset
). In the latter case, the file name
(
identifier
) is upshifted. The HP-UX operating system may not
recognize the file by this new name. To avoid this problem, use
all-capital names in the operating system environment for files
that HP Pascal programs will use (for example, name an external
file FILE1, not File1).