fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

FORMAT FORMAT SPECIFICATIONS

Syntax:

[DO NOT] FORMAT FORMAT SPECIFICATIONS

Function:

This command determines whether fpt applies the user's token formatting rules within Fortran format specifications. If formats are formatted, the SPACE BEFORE and SPACE AFTER rules, and the UPPER CASE and LOWER CASE rules are applied. If they are not, fpt treats the format as if it were a string, and reproduces the characters exactly as originally written.

If format specifications are formatted, formatting is applied both in FORMAT statements and in embedded format strings in READ, WRITE, ENCODE and DECODE statements.

Fortran format specifications may contain embedded expressions within <> delimiters (This usage is non-standard). Variables written within <> delimiters are not modified by the RENAME SYMBOL command unless format specifications are formatted.

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

Format specifications are formatted by default.

See Also

LOWER CASE

UPPER CASE

SPACE BEFORE

SPACE AFTER

RENAME SYMBOL

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