fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref 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).

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 No
Specification (fsp) files, *.fsp Yes
Interactively, to FPT> prompt Yes
Interactive command files Yes
Embedded in the Fortran code No

Examples

Interactive invocation of a command file:

FPT> @checks.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 2024 Software Validation Ltd. All rights reserved.