FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


SPECIFY GLOBAL SAVE

Syntax:

SPECIFY GLOBAL SAVE

Version:

This command is implemented in FPT versions 3.3-d and later.

Function:

FPT writes a SAVE statement without arguments immediately after the last IMPLICIT statement in each sub-program in which global SAVE is not already specified.

Existing SAVE statements are commented out.

Note that global SAVE is the default behaviour for VMS, MPX and some PC compilers. Most Unix compilers claim local storage on a stack frame, and therefore do not save variables from one call to a sub-program to the next.

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:

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

See also:

SPECIFY IMPLICIT NONE

DECLARE ALL SYMBOLS


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