FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


FILE NAME

Syntax:

!% FILE NAME [:] [:] <symbol> [ , <symbol> ... ]

Function:

Specifies that the named sub-program arguments are file names. FPT uses this information when inserting subroutines or functions to translate file name formats (See INSERT SUBROUTINE TO TRANSLATE FILE NAMES and INSERT FUNCTION TO TRANSLATE FILE NAMES).

Names which contain exotic characters such as '%', ':' or '#' (which are all legal on some systems) must be written as quoted strings.

The %FILE NAME command must be written in code within the scope of declaration of the variable.

Where to use this command:

Operating system command line

No


Configuration file, config.fsp

No


Specification (FSP) files, *.fsp

No


Interactively, to FPT> prompt:

No


Interactive command files

No


Embedded in the Fortran code

Yes


Default:

Not a file name

Example:

SUBROUTINE SEARCHFILE(FILEA,STRINGA) CHARACTER*(*) FILEA,STRINGA !% FILE NAME :: FILEA

See also:

INSERT FUNCTION TO TRANSLATE FILE NAMES

INSERT SUBROUTINE TO TRANSLATE FILE NAMES


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