fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

TRUNCATE INPUT LINES

Syntax:

[DO NOT] TRUNCATE [ INPUT LINES ]

Function:

The command TRUNCATE INPUT LINES instructs fpt to delete characters beyond column 72 when reading code in fixed format. Undelimited comments beyond column 72 are deleted and are not reported. The command is most often used to remove undelimited trailing line numbers from code from Gould-SEL Concept series machines and old IBM systems.

The command DO NOT TRUNCATE INPUT LINES instructs fpt to report undelimited comments beyond column 72 by warnings. Comment lines, and comments delimited by exclamation marks, are simply transcribed to the output files. The command NO WARNINGS FOR UNDELIMITED TRAILING COMMENTS instructs fpt to insert missing trailing comment delimiters without warning.

The commands EXTENDED SOURCE and INPUT CODE LAYOUT: FORTRAN 77 EXTENDED SOURCE instruct fpt to treat the entire input line as Fortran code. There is no comment field, and all trailing comments must be delimited.

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 No

Default

DO NOT TRUNCATE INPUT LINES

(Note that defaults may be changed in the configuration file)

See Also

EXTENDED SOURCE

INPUT CODE LAYOUT

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