FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


ACCEPT COMMAND CHARACTER

Syntax:

[DO NOT] ACCEPT COMMAND CHARACTER [:] <string>

Function:

Instructs FPT to recognise the specified character as introducing an FPT command. The character is recognised on the operating system command line, in specification (FSP) files, or interactively.

The character '%' may be used to introduce FPT commands in all contexts except on the DOS or Win32 operating system command line. Recognition of this character cannot be disabled.

In the present version of FPT, the only alternative command character is '/'. This character must be used on the DOS or Win32 command line because '%' is intercepted by the operating system. Note that '/' should not be used in any context under Unix because it introduces a rooted directory specification. Note also that '/' cannot be used on the VMS command line because the command is then interpreted as a switch to the RUN command which launches FPT.

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


Default:

The command %ACCEPT COMMAND CHARACTER: '/' is usually written in the configuration file, config.fsp, for DOS or Win32. '/' is not accepted by default under Unix, Linux or VMS.

Example:

FPT is run under Unix from the operating system command prompt by the command:

% fpt amma2.fsp %no_fortran %i

Under Win32, config.fsp contains the specification:

% accept command character: '/'

and fpt is run by the command:

% fpt amma2.fsp /no_fortran /i


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