HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 6 421
Command Definitions P-R
PASXL
PASXL
Compiles an HP Pascal/iX program. HP Pascal/iX is not part of the HP 3000 Series 900
Computer System Fundamental Operating Software and must be purchased separately.
(Native Mode)
Syntax
PASXL[ textfile][,[objectfile][,[listfile][,libfile] ] ] [ ;INFO=quotedstring]
Parameters
textfile The name of the text file that contains the source code to be compiled. This
is an ASCII file that you prepare with an editor such as EDIT/V. The
formal file designator is PASTEXT.
If you are running HP Pascal/XL from your terminal, you will probably
specify a disk textfile. If you do not specify textfile, then the default file is
$STDIN. $STDIN is the current input device, usually your terminal.
When textfile is your terminal, you can enter source code interactively in
response to the > prompt. When you have entered all the source code, type
a colon (:) in response to the > prompt to end the interactive input.
The source code to be compiled can be a program or a list of modules.
objectfile Actual file designator of the object file to which the object code is stored.
This file is stored in binary form and has a file code of either (1461) or
NMRL (1033). Its formal file designator is PASOBJ. If the objectfile
parameter is omitted, the object code is saved to the temporary file
$OLDPASS.
If you specify objectfile, the compiler stores the object file in a permanent
file of the correct size and type, and with the name you specified. If a file of
the same name already exists, the object code overwrites that file.
If the compiler issues an error message telling you that a new or existing
object file you are trying to compile to is too small, build the object file with
a larger size and recompile to it.
You may use the MPE/iX SAVE command to store $OLDPASS as a
permanent file under another name.
listfile The name of the file on which the compiler writes the program listing. It
can be any ASCII file. The default is $STDLIST. $STDLIST is usually the
terminal if you are running HP Pascal/iX interactively, or the printer if you
are running a batch job. The formal file designator is PASLIST.
If your terminal is both textfile and listfile, the compiler does not write the
program listing on the terminal.