A SERVICE OF

logo

422 Chapter 6
Command Definitions P-R
PASXL
If listfile is $NULL or a file other than $STDLIST, the compiler displays on
$STDLIST those lines that contain errors.
libfile The name of the HP Pascal/iX library file that the compiler searches if a
search path is not specified with the compiler option SEARCH. The default
is PASLIB in your group and account.
quotedstring A string of no more than 132 characters (including the single or double
quotation marks that enclose it).
The quotedstring string is used in the HP Pascal/iX programming language
to pass initial compiler options to the compiler. HP Pascal/iX brackets the
quotedstring string with dollar signs ($) and places the string before the first
line of source code in the text file.
NOTE The formal file designators used in this command (PASTEXT, PASOBJ,
PASLIST, and PASLIB) cannot be backreferenced as actual file designators in
the command parameter list. For further information, refer to the "Implicit
FILE Commands for Subsystems" discussion of the FILE command.
Operation Notes
The PASXL command compiles an HP Pascal/iX program and stores the object code in a
permanent file (objectfile) or in $OLDPASS if you do not specify an object file. If textfile is
omitted, the compiler expects the source program to be entered from your standard input
device. If you do not specify listfile, the compiler sends the program listing to the formal file
designator PASLIST (default is $STDLIST).
NOTE This command is implemented as a command file. If you set the HPPATH
variable to null (SETVAR HPPATH ""), the command file is not executed, and
the command fails.
Use
This command may be issued from a session, job, or program. It may not be used in
BREAK. Pressing
Break suspends the execution of this command. Entering the RESUME
command continues the execution.
Examples
The following example compiles an HP Pascal/iX program entered from your standard
input device and stores the object program in the object file $OLDPASS. The listing is then
sent to your standard list device.
PASXL
The next example compiles an HP Pascal/iX program contained in the disk file SOURCE and
stores the object program in the object file OBJECT. The program listing is stored in the
disk file LISTFILE.
PASXL SOURCE,OBJECT,LISTFILE