HP 3000 Manuals

PASCALGO [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Commands Reference Manual Volume I

PASCALGO 

Compiles, prepares, and executes a compatibility mode Pascal/V program.
Pascal/V is not part of the 900 Series HP 3000 Computer System
Fundamental Operating Software and must be purchased separately.  The
native mode equivalent of this command is PASXLGO.

Syntax 

PASCALGO [textfile][,listfile][;INFO=quotedstring]

Parameters 

textfile              Actual file designator of the input file from which
                      the source program is read.  This can be any ASCII
                      input file.  Formal file designator is PASTEXT.
                      Default is $STDIN. $STDIN is the current input
                      device, usually your terminal.

                      PASTEXT cannot be backreferenced as an actual file
                      designator in the command parameter list.  For
                      further information, refer to the "Implicit FILE
                      Commands for Subsystems" discussion of the FILE
                      command.

listfile              Actual file designator of the file to which the
                      program listing is written.  This can be any ASCII
                      output file.  Formal file designator is PASLIST.
                      Default is $STDLIST. $STDLIST is usually your
                      terminal if you are running Pascal/V interactively,
                      or the printer if you are running a batch job.

                      PASLIST cannot be backreferenced as an actual file
                      designator in the command parameter list.  For
                      further information, refer to the "Implicit FILE
                      Commands for Subsystems" discussion of the FILE
                      command.

quotedstring          A sequence of characters between two single
                      quotation marks (apostrophes) or between two double
                      quotation marks.  You may use the delimiter as part
                      of the string so long as the delimiter appears
                      twice.  Any occurrence of two single or two double
                      quotation marks in a row is considered part of the
                      string, and, therefore, not the terminating
                      delimiter.

                      INFO=quotedstring is used in the Pascal/V
                      programming language to pass initial compiler
                      options to a program.  Pascal/V brackets the
                      quotedstring with dollar signs and places it before
                      the first line of source code in the text file.

Operation Notes 

The PASCALGO command compiles, prepares, and executes a compatibility
mode Pascal/V program.  If textfile is omitted,
MPE/iX expects input from your standard input device.  If you do not
specify listfile, MPE/iX sends the program listing to the formal file
designator PASLIST (default is $STDLIST).

The USL file created during the compilation is the system-defined
temporary file $OLDPASS, which is passed directly to the MPE segmenter.
It can only be accessed if you do not use the default for progfile.  This
is because the segmenter also uses $OLDPASS to store the prepared program
segments, overwriting any existing temporary file of the same name.

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 

To compile, prepare, and execute a Pascal/V program entered from your
standard input device, with the program listing sent to your standard
list device, enter:

     PASCALGO 

To compile, prepare, and execute a Pascal/V program from the disk file
PASCSRC and send the program listing to the file LISTFILE, enter:

     PASCALGO PASCSRC,LISTFILE 

Related Information 

Commands      PASCAL, PASCALPREP, PASXL, PASXLGO, PASXLLK PREP, RUN,
              LINK, LINKEDIT

Manuals       MPE Segmenter Reference Manual (32650-60026)

              HP Pascal/iX Reference Manual (31502-90001)



MPE/iX 5.0 Documentation