fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
[DO NOT] ACCEPT D-LINES [DO NOT] ACCEPT X-LINES [DO NOT] ACCEPT Y-LINES [DO NOT] COMPILE D-LINES [DO NOT] COMPILE X-LINES [DO NOT] COMPILE Y-LINES [DO NOT] PROCESS D-LINES [DO NOT] PROCESS X-LINES [DO NOT] PROCESS Y-LINES
Instructs fpt to analyse statements introduced by the optional comment delimiters D, X and Y. D line comments are accepted by many compilers. X and Y line optional comments are accepted by Gould-SEL Concept series systems. Where they are accepted, a compilation switch determines whether they are to be processed as code or ignored as comments.
Note that the optional comment delimeters are not case sensitive.
When fpt accepts optional comment lines as code, the code is analysed only as far as reserved word identification. The symbols in the optional code lines may not exist, and IF and other block constructs could cause spurious errors.
When optional comment lines are not accpted they are simply treated as comments. The command CHANGE OPTIONAL COMMENT DELIMITERS TO STANDARD COMMENTS changes the comment delimiter to the current selected standard comment delimiter, typically "!".
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|
Optional comment delimiters are not accepted by default.
Copyright ©1995 to 2022 Software Validation Ltd. All rights reserved.