FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


SPECIFY IMPLICIT NONE

Syntax:

[DO NOT] SPECIFY IMPLICIT NONE

Function:

FPT writes an IMPLICIT NONE statement immediately after the sub-program declaration statement or the last USE statement if any are present, in every sub-program in which IMPLICIT NONE is not already specified.

Existing IMPLICIT statements are commented out.

All objects for which no data type has been specified are explicitly declared.

The declarations are written immediately after the new IMPLICIT NONE statement, or after a SAVE statement without arguments if this is present. They are written in the same file as the sub-program declaration statement. If a SAVE statement without arguments is present, but written in an INCLUDE file, the SAVE statement is moved to the file which contains the sub-program declaration. If the INCLUDE file is shared by several sub-programs, the SAVE statement is inserted into all of them.

The declarations are organised in the same way as is described for the command DECLARE ALL SYMBOLS.

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:

No change is made. (Note that defaults may be changed in the configuration file)

See also:

DECLARE ALL SYMBOLS


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