fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref 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 Yes
Interactive command files Yes
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 2025 Software Validation Ltd. All rights reserved.