FPT and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Reference Manual Home |
Syntax:
%INTERACTIVE %I %NON-INTERACTIVE |
Function:
The commands %I and %INTERACTIVE are equivalent. These commands instruct FPT to enter interactive mode after reading and analysing the Fortran input files. They are written on the operating system command line, in specification (FSP) files or in the configuration file. They have no effect when written interactively.
Please note that the reading and initial analysis of large Fortran programs may take some minutes on small or slow systems. FPT does not enter interactive mode until this process has completed.
The %I or %INTERACTIVE commands are reversed by the commands %NONINTERACTIVE or %NON-INTERACTIVE. These commands instruct FPT to process the input files in batch mode. The behaviour of FPT is determined by the last %I, %INTERACTIVE, %NONINTERACTIVE or %NON-INTERACTIVE command encountered.
Column Format
It is recommended that column formatting be turned off in interactive mode, at least for declarations (See COLUMN FORMAT). Column formatting expands some single input source lines into columns of output lines. The line numbers used in interactive commands refer to the Fortran input files, and not to the reformatted output files. It is easier to navigate through the program text if statements are not expanded.
Where to use this command:
Operating system command line |
Yes |
|
Configuration file, config.fsp |
Yes |
|
Specification (FSP) files, *.fsp |
Yes |
|
Interactively, to FPT> prompt: |
No |
|
Interactive command files |
No |
|
Embedded in the Fortran code |
No |
|
Default:
%NON-INTERACTIVE
(Note that defaults may be changed in the configuration file)
Examples:
Command line use
$ fpt heli.for ctrlaws.for %i
FSP file use
! pwr4A.fsp 13-Dec-91 R.C.Chien
fnkin.fsp
mpump.fsp
spump.fsp
sensors.f
%interactive
%no column format
See Also:
Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.