fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

REMOVE LINE COMMENTS AFTER END

Syntax:

[DO NOT] REMOVE LINE COMMENTS AFTER END

Function:

Line comments which follow the terminating END statement of a sub-program at the end of a file have been seen to cause compilation problems under HP/UX and some versions of other compilers. The authors have seen no problems under ifort or gfortran.

This command deletes all line comments between an END statement which is the last statement in a file and the end of the file.

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

Comments at the end of a file are not removed by default.

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