FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference 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

Yes


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 2014 Software Validation Ltd. All rights reserved.