fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

KEEP FILE LAYOUTS

Syntax:

KEEP FILE LAYOUT KEEP FILE LAYOUTS SET FILE LAYOUT SET FILE LAYOUTS KEEP FILE FORMAT KEEP FILE FORMATS SET FILE FORMAT SET FILE FORMATS

Function:

The commands KEEP FILE LAYOUT etc. instruct fpt to write the Fortran output files with the same layout as the corresponding input files. The layouts may be free format, 72-column (standard) fixed format, VMS-style tab format or fixed or tab format with long lines.

The commands SET FILE LAYOUT etc. instruct fpt to write the Fortran output with the current layout specification, set by the commands FREE FORMAT OUTPUT, FIXED FORMAT OUTPUT, TAB FORMAT OUTPUT and OUTPUT CODE LINE LENGTH. Note that these commands are likely to be written in the configuration file, FPTMAIN:config.fsp.

New Fortran files generated by fpt, with no corresponding input files, are always generated as specified by the OUTPUT CODE FORMAT commands.

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