FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


DEFAULT LENGTH OF MISSING STRING ARGUMENTS

Syntax:

DEFAULT LENGTH OF MISSING STRING ARGUMENTS [:] <integer>

Function:

The command CORRECT MISSING ARGUMENTS instructs FPT to insert arguments which are missing in sub-program calls. The commands which specify the arguments to be inserted for missing strings are:

MISSING STRING ARGUMENTS TO BE REPLACED BY %VAL(0)

MISSING STRING ARGUMENTS TO BE REPLACED BY SYMBOLS OF LENGTH:<integer>

MISSING STRING ARGUMENTS TO BE REPLACED BY SYMBOLS

where the specified integer may be zero. If missing string arguments are replaced by symbols of unspecified size, the data size is taken from the data size of the formal argument. The command DEFAULT LENGTH OF MISSING STRING ARGUMENTS specifies the size to be used when the formal argument is declared CHARACTER*(*) or CHARACTER*(n) where n is variable.

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:

DEFAULT LENGTH OF MISSING STRING ARGUMENTS: 256

(Note that defaults may be changed in the configuration file)

See also:

CORRECT MISSING ARGUMENTS

MISSING STRING ARGUMENTS TO BE REPLACED BY SYMBOLS


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