HP Pascal/iX Reference Manual (31502-90022)

12- 5
MPE/iX Options
MPE/iX compiler options are available only in HP Pascal running on the
MPE/iX operating system.[REV BEG] See the $OS compiler option later in
this chapter.[REV END]
HP-UX Options
HP-UX compiler options are available only in HP Pascal running on the
HP-UX operating system.[REV BEG] See the $OS compiler option later in
this chapter.[REV END]
Options That Work Differently on HP-UX and MPE/iX
The compiler options that this section explains are available in HP
Pascal running on either the MPE/iX or HP-UX operating system; however,
the options work differently on the two systems. A program that contains
these options can be compiled by a program that specifies either $OS
'MPEXL'$ or $OS 'HPUX'$.
System-wide File
The compiler looks for a system-wide file called PASCNTL.PUB.SYS on
MPE/iX or /usr/lib/pasopts on HP-UX. If the file exists and is not empty,
the compiler opens and reads the file. The file should[REV BEG] contain
only compiler options[REV END] and comments. If there is anything else
in the file, the compiler emits an error message.
On MPE/iX the message is:
[REV BEG]
ONLY COMMENTS AND COMPILER OPTIONS ARE ALLOWED IN ‘PASCNTL.PUB.SYS' (045)
[REV END]
On HP-UX the message is:
[REV BEG]
ONLY COMMENTS AND COMPILER OPTIONS ARE ALLOWED IN /usr/lib/pasopts (045)
[REV END]
The file is shipped empty and does not need to contain anything. If the
file is empty, the compiler does not attempt to open it.
However, if compiler[REV BEG] options have been added to the file, the
compiler processes these options[REV END] before anything else, even the
info string. Therefore, you can override the[REV BEG] options in the
file because later options take[REV END] precedence over earlier options.
Compiler Option Description
This section contains the descriptions of each of the HP PASCAL compiler
options. Each description contains the syntax, location, and default
value of the option. They are arranged alphabetically.
ALIAS
ALIAS is an HP Pascal Option.
The ALIAS compiler option specifies an external name for a procedure,
function, or global variable.
Syntax
$ALIAS
string
$
Parameter
string
The external name. The compiler does not distinguish