fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref 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 length 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(LEN=*), 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
MISSING STRING ARGUMENTS TO BE REPLACED BY SYMBOLS
Copyright ©1995 to 2024 Software Validation Ltd. All rights reserved.