FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


COUNT TRAILING WHITE SPACE IN UNDELIMITED STRINGS

Syntax:

[DO NOT] COUNT TRAILING [WHITE] SPACE[S] IN [UNDELIMITED] STRINGS

Function:

This command determines the way in which FPT interprets a string which continues from one line to the next, so that no string delimiter is written at the end of the first line. Compilers differ in their treatment of this situation. Some always pad undelimited strings with spaces up to the end of the code line (normally column 72). Some compilers count the number of space or tab characters actually written in the input file, and use this number to determine the string length. Some simply issue an error message.

This command is not available in the Salford DOS version of FPT. In this environment, undelimited strings are always padded to column 72 or column 132.

In Fortran 90 free format, FPT uses Fortran 90 continuation characters to link strings split between lines. When writing in fixed format, wherever possible, FPT writes the strings in the output files with delimiters before the line ends. Strings in executable code are linked across lines by string catenation // operators. Strings in format specifications are linked by commas.

Where to use this command:

Operating system command line

Yes


Configuration file, config.fsp

Yes


Specification (FSP) files, *.fsp

Yes


Interactively, to FPT> prompt:

No


Interactive command files

No


Embedded in the Fortran code

Yes


Default:

By default, strings are padded with spaces to the end of the code line (Note that defaults may be changed in the configuration file).


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