fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

PRIMARY INPUT DIRECTORY

Syntax:

PRIMARY INPUT [FILE] DIRECTORY [:] <filename>

Function:

Specifies the default directory from which primary files are read when no explicit directory specification is made. A primary file is a file directly submitted to the Fortran compiler and not referenced by an INCLUDE statement.

This command is position sensitive in the command line or specification file in which it is written. It applies to the files which follow it, and a list of Fortran files may contain several different primary directory specifications.

The command INPUT DIRECTORY specifies the default input directory for both primary and INCLUDE files.

The command INCLUDE INPUT DIRECTORY specifies the input directory for INCLUDE files.

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

Default

The current directory (Note that defaults may be changed in the configuration file).

Examples

! WSYM.FSP - for aerodynamic sim with wind % primary input directory: /home/john/heli/wind %include input file directory: /home/john/heli/windtab AERO.FOR STAB.FOR %primary input directory: /home/john/heli/cntrl GYRO.FSP ! end of WSYM.FSP

See Also

INPUT DIRECTORY

INCLUDE INPUT DIRECTORY

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