fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

WRITE OUTPUT DIRECTORIES IN INCLUDE STATEMENTS

Syntax:

[DO NOT] WRITE [OUTPUT] DIRECTORIES [IN] INCLUDE [STATEMENTS]

Function:

This command controls whether the full directory specification is written in the INCLUDE statements in the output code. The specifications refer to the new output files, not to the original input files, and are absolute, not relative to the current working directory. fpt logical names, set up by the ASSIGN or DEFINE commands are interpreted. VMS logical names are interpreted unless they have been defined with /translation=concealed.

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 No

Example

fpt is run under Windows with the command:

E:\JOHN\TEST> fpt ..\src\strts "/write directories in include"

INCLUDE statements in the output file strts.fpt appear, for example:

INCLUDE 'E:\JOHN\TEST\STRDAT.FPI'

See also:

ASSIGN

DEFINE

KEEP OUTPUT DIRECTORIES

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