FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


WRITE OUTPUT DIRECTORIES IN INCLUDE STATEMENTS

Syntax:

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

Function:

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.

It is recommended that this command be used if KEEP OUTPUT DIRECTORIES has been specified.

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


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