fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
SPACED OPERATORS
Syntax:
[NO] SPACED OPERATORS
Function:
The command SPACED OPERATORS modifies the format of the Fortran code written by fpt. It instructs fpt to ensure that a space or tab character is written before and after every operator and delimiter, except that:
The command NO SPACED OPERATORS instructs fpt not to write spaces before and after operators unless the spaces are required by the spacing rules for the following or preceding tokens. Spaces are always written before and after the dot-delimited operators and constants .AND., .OR., .TRUE. etc.
The spacing rules for individual operators and delimiters (including spacing before a comma), and for keywords, symbols, numbers and other tokens, are controlled by the commands SPACE BEFORE and SPACE AFTER. The spacing rules are reset to remove all unnecessary spaces between tokens by the command NO SPACES.
The current spacing rules are recorded by the SAVE FORMAT command. They are displaced by the SHOW FORMAT command.
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 | No |
Default
NO SPACED OPERATORS
(Note that formatting defaults are usually set in the configuration file or in FSP files invoked indirectly from it)
See Also
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.