FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


@ - Interactive command files

Syntax:

@ <file>

Function:

The @ command invokes an interactive command file (INT file).

INT files consist of commands written in exactly the same way as they would be written interactively to the FPT> prompt.

Commands may be abbreviated, and need not begin with the character % (Though no error occurs if this is written).

Space characters may, but need not be replaced by underscores.

Comments are delimited by the character !.

Interactive command files may invoke further interactive command files to a maximum depth of 10.

INT files may not contain file specifications for the Fortran code to be read by FPT. Fortran input files are specified in FSP files.

INT files may be invoked from FSP files or from the operating system command line, but must be preceded by the command START INTERACT in this context.

Where to use this command:

Operating system command line

Yes


Configuration file, config.fsp

Yes


Specification (FSP) files, *.fsp

Yes


Interactively, to FPT> prompt:

Yes


Interactive command files

Yes


Embedded in the Fortran code

No


Example:

Interactive invocation of a command file:

FPT> @format.int

Text of a command file:

! checks.int	11-Dec-93   R.S.W.
name check to check default sizes
name check to ignore array bounds
name check to ignore arguments
name check to ignore common names
arg check to ign default size
arg check to ign arr bounds
check names
check arg

See also:

FSP files

ECHO

START INTERACT


Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.