fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

OUTPUT CODE LINE LENGTH

Syntax:

OUTPUT CODE LINE LENGTH [:] <integer>

Function:

Specifies the number of columns to the end of the code field of the Fortran line written by fpt. Note that the default number for fixed format is 72, and the default for free-format Fortran 90 is 132. The valid range is 64 to 400 in fpt version 4.301 and later.

This command does not affect the organisation of comments or of trailing comments delimited by '!' characters.

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

OUTPUT CODE LINE LENGTH:72 for fixed format.
OUTPUT CODE LINE LENGTH:132 for free format.

Note that the ouput code line length is usually set in the configuration file or in an fsp file invoked from it.

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