/[no]fpscomp
Syntax:
- /[no]fpscomp[:keyword...]
The /fpscomp option controls whether certain aspects of the run-time
system and semantic language attributes within the compiler are
compatible with Visual Fortran or Microsoft Fortran PowerStation.
Specify /fpscomp or /fpscomp:all when porting applications from
Microsoft Fortran PowerStation. Specify /nofpscomp when porting
applications from Compaq Fortran. The /fpscomp options are:
- /fpscomp:[no]filesfromcmd
Specifying /fpscomp:filesfromcmd allows the run-time system to
use the filename specified on the command line only if
the OPEN statement FILE specifier is omitted. Specifying /fpscomp:nofilesfromcmd
disables the run-time system from using the filename specified
on the command line when the OPEN statement FILE specifier is
omitted, allowing the application of default directory, file name,
and extensions like Compaq Fortran.
- /fpscomp:[no]listio
Uses Microsoft compatible list I/O field widths and ?TBS?.
- /fpscomp:[no]logical
Determines the convention for determining the truth associated
with a logical value. Microsoft PowerStation Fortran or /fpscomp:logical
uses 0 for false and 1 for true, whereas Compaq Fortran or /fpscomp:nological
only looks at the low bit of the value, 0 for false, and a -1
for true.
- /fpscomp:[no]mixed_str_len_arg
Determines the convention for passing the hidden length of character
arguments. Specifying /fpscomp:mixed_str_len_arg requests that
the hidden lengths be placed immediately after their corresponding
character argument in the argument list, which is the method used
by Microsoft Fortran PowerStation.
Specifying /fpscomp:nomixed_str_len_arg
requests that the hidden lengths be placed in sequential order
at the end of the argument list, which was is the method
used by Compaq Fortran on Windows NT Alpha (and Compaq Tru64 UNIX)
systems. When porting mixed-language programs that pass character
arguments, this option must be specified correctly or the order
of hidden length arguments changed in the source code.
- /fpscomp:[no]run_time
Controls which run-time behavior will be used. This is intended
to include the I/O system, exception handling, and other areas.
Specify /fpscomp:run_time to request Microsoft PowerStation Fortran
run-time conventions. Specify /fpscomp:norun_time to request Compaq
Fortran run-time conventions.
- /fpscomp:[no]unformatted
Specify /fpscomp:unformatted to request Microsoft PowerStation
Fortran compatible unformatted file format. Specify /fpscomp:nounformatted
to request Compaq Fortran compatible unformatted file format.
- /fpscomp:all and /fpscomp
Enable full Microsoft Fortran PowerStation compatibility or /fpscomp:(filesfromcmd,
logical, listio, mixed_str_len_arg, run_time, unformatted).
- /nofpscomp or /fpscomp:none
Enables full Compaq Fortran compatibility or /fpscomp:(nofilesfromcmd,
nolistio, nological, nomixed_str_len_arg, norun_time, nounformatted).
If you omit /fpscomp, the defaults are /fpscomp:(filesfromcmd,
nological, listio, mixed_str_len_arg, norun_time, unformatted).
The /fpscomp and /vms
options are not allowed in the same command.