The FTNXLGO Command [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
The FTNXLGO Command
The MPE/iX command FTNXLGO compiles, prepares, and executes a FORTRAN 77
program. After successful completion of FTNXLGO, the program file is the
temporary file $OLDPASS, which you can save using the MPE/iX SAVE
command.
Syntax
FTNXLGO [textfile] [, [listfile]] [{; INFO=} " text "]
[{, } ]
-----------------------------------------------------------------------------------------------
| | | |
| Item | Description/Default | Restrictions |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| textfile | The name of the input file that | Must be an ASCII file or a system |
| | the FORTRAN 77 compiler will read; | defined file name such as $STDIN. |
| | the default is $STDIN. | |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| listfile | The name of the file on which the | Must be an ASCII file or a system |
| | compiler will write the program | defined file name such as |
| | listing; the default is $STDLIST. | $STDLIST. |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| text | A specification of initial | None. |
| | compiler directives. | |
| | | |
-----------------------------------------------------------------------------------------------
Description
If textfile is omitted, the default file is $STDIN, which is the current
input device. In a session, this device is the terminal allowing you to
enter source code interactively. For interactive mode, a special prompt
(>) appears on the screen. Indicate the end of the source code by
entering a colon (:) immediately after the prompt. If listfile is
$STDLIST, the listing is echoed back to the terminal. If listfile is
$NULL or a file other than $STDLIST, the listing is not echoed back to
the terminal, but is directed to $NULL or to the specified file.
If listfile is omitted, the system assigns the file $STDLIST as the
default file. Typically, this is the terminal in a session or the
printer in a batch job.
The text field of the INFO parameter permits you to specify the compiler
directives that initially take effect. FORTRAN 77 places a dollar sign
($) in front of the text field and places the string before the first
line of source code in the text file.
If $OLDPASS exists, the object file is $OLDPASS. Otherwise, $NEWPASS is
used. If $OLDPASS exists and is of type NMRL, the file is appended to
and module replacement occurs if there are any duplicate entry points.
Using the RLFILE or RLINIT directives when compiling with the default
object file causes $OLDPASS to be of type NMRL. See the RLFILE and RLINIT
compiler directives Chapter 7 for additional information.
MPE/iX 5.0 Documentation