FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


IGNORE COMMANDS EMBEDDED IN THE CODE

Syntax:

IGNORE COMMANDS [EMBEDDED] IN [THE] CODE

ACCEPT COMMANDS [EMBEDDED] in [THE] CODE



Function:

Commands to FPT may be written in the Fortran code. They are then introduced by the character % written in column 2 immediately after a comment delimiter in column 1.

The command IGNORE COMMANDS EMBEDDED IN THE CODE instructs FPT to ignore these commands. This is useful when the code contains commands such as INLINE or UNWIND and FPT is run only to reformat the code or to search for inconsistencies. The facility may also be used to suppress spurious errors from existing comments which begin with the string C% or !%.

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

Yes


Default:

Embedded commands are accepted by default (Note that defaults may be changed in the configuration file).

Example:

$ fpt aero.fsp "%ignore commands in the code"

See also:

INLINE

UNWIND


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