FPT and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Reference Manual Home |
Syntax:
[DO NOT] REMOVE NESTED STRUCTURE DECLARATIONS |
Function:
Declarations of Fortran structures which are made within other structures are removed and are written immediately before the structures within which they were nested. If the nested structure was not named, a structure name is generated by appending the string _STRUC to the original record name. The name is modified so as to be unique by appending an integer number if necessary. The name may be shortened if NAME LENGTH has been specified.
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 by default.
Example:
The code:
STRUCTURE /GEN_FUNC/ CHARACTER*32 OUTPUT_NAME INTEGER*4 LAST_INDEX STRUCTURE FUN_TAB REAL*4 BREAKPOINTS(17) REAL*4 VALUES(17) END STRUCTURE END STRUCTURE
is modified to read:
STRUCTURE /FUN_TAB_STRUC/ REAL*4 BREAKPOINTS(17) REAL*4 VALUES(17) END STRUCTURE STRUCTURE /GEN_FUNC/ CHARACTER*32 OUTPUT_NAME INTEGER*4 LAST_INDEX RECORD /FUN_TAB_STRUC/FUN_TAB END STRUCTURE
See also:
Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.