HP Pascal/iX Programmer's Guide (31502-90023)
A-: 31
PASXLGO [
textfile
][,[
listfile
][,
libfile
]][; INFO="
options
"]
Parameters
textfile
The name of the
textfile
that contains the source code to be
compiled.
If you are running HP Pascal from your terminal,
textfile
is
usually a file, but the default is $STDIN. $STDIN is the
current input device, usually your terminal.
When
textfile
is the terminal, you can enter source code
interactively in response to the prompt ">." When you have
entered every line of your source code, type a colon (:) in
response to the prompt.
The source code to be compiled can be either a program or a
list of modules. A list of modules has the syntax:
module1
[;
module2
[; ... [;
module
n]]... ]
where
module1
through
module
n are module bodies.
objectfile
The name of the object file or RL on which the compiler
writes the binary form of the source code that is in
textfile
. The default is $OLDPASS or $NEWPASS.
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 from a terminal; it is usually the job
spool file if you are running a batch job.
If your terminal is both
textfile
and
listfile
, the compiler
does not write the program listing on the terminal. If this
is a permanent disk file, excess space is released with the
CRUNCHED close option. See "Additional Features"
earlier in this appendix.
If
listfile
is $NULL or a file other than $STDLIST, the
compiler displays lines that contain errors on $STDLIST.
options
A string of 132 or fewer characters, whose value is a list
of compiler options. The compiler encloses the list in
dollar signs and inserts it before the first line of code in
textfile
. The default is the empty string.
progfile
The name of the program file on which the MPE/iX linker
writes the linked program. The default is $NEWPASS.
libfile
The name of the Pascal 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.
:RUN PASCALXL.PUB.SYS
The HP Pascal/XL compiler is a program file named PASCALXL.PUB.SYS. You
can use the MPE/iX command :RUN to execute PASCALXL.PUB.SYS (that is, to
invoke the HP Pascal/iX compiler).
The compiler files and their defaults are:
File Default
Source file $STDIN
Object file $OLDPASS or $NEWPASS