The following examples show a variety of VSI Fortran commands.
Each command is followed by a description of the output files it
produces.
1. $ FORTRAN/LIST AAA.F90, BBB.F90, CCC.F90
Source files AAA.F90, BBB.F90, and CCC.F90 are compiled as
separate files, producing object files named AAA.OBJ, BBB.OBJ,
and CCC.OBJ; and listing files named AAA.LIS, BBB.LIS, and
CCC.LIS.
2. $ FORTRAN XXX+YYY+ZZZ
Source files XXX.F90, YYY.F90, and ZZZ.F90 are concatenated and
compiled as one file, producing an object file named XXX.OBJ,
but no listing file. (A listing file named XXX.LIS would be
produced in batch mode.)
3. $ FORTRAN/OBJECT=SQUARE/NOLIST <RET> _File: CIRCLE
The source file CIRCLE.F90 is compiled, producing an object
file named SQUARE.OBJ, but no listing file.
4. $ FORTRAN AAA+BBB,CCC/LIST
Two object files are produced: AAA.OBJ (comprising AAA.F90 and
BBB.F90) and CCC.OBJ (comprising CCC.F90). One listing file is
produced: CCC.LIS (comprising CCC.F90).
5. $ FORTRAN ABC+CIRC/NOOBJECT+XYZ
When you include a qualifier in a list of files that are to be
concatenated, the qualifier affects all files in the list. The
Fortran command shown in this example completely suppresses the
object file. That is, source files ABC.F90, CIRC.F90, and
XYZ.F90 are concatenated and compiled, but no object file is
produced.