FPT and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Reference Manual Home |
Syntax:
PRIMARY INPUT [FILE] DIRECTORY [:] <filename> |
Function:
Specifies the default directory from which primary files are read when no explicit directory specification is made. In this context, a primary file is any Fortran file which is 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 |
Yes |
|
Default:
The current directory (Note that defaults may be changed in the configuration file).
Example:
! 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:
Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.