FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


UNCONDITIONAL EXIT

Syntax:

UNCONDITIONAL EXIT

Function:

UNCONDITIONAL EXIT instructs FPT to leave interactive mode and to complete all outstanding processing without prompting the user for confirmation. The Fortran output files are written (unless suppressed by a NO FORTRAN command) and the list (FPL) file is completed and closed.

This command may be used to terminate interactive command files which carry out automated processes without user intervention. Note that the EXIT command prompts for confirmation and requires input from the user's keyboard.

The commands UNCONDITIONAL EXIT and EXIT UNCONDITIONALLY are equivalent.

QUIT instructs FPT to abandon processing immediately. All files are closed without generating further output.

Where to use this command:

Operating system command line

No


Configuration file, config.fsp

No


Specification (FSP) files, *.fsp

Yes

(After START INTERACT)

Interactively, to FPT> prompt:

No


Interactive command files

Yes


Embedded in the Fortran code

No


Example:

! rw.fsp  Removal of keywords from program sapphire
sapphire.fsp
ecolib.fsp
aixlib.fsp
 
% start interact
rename ACTION SAPPACT
rename INDEX INDX
rename CONTROL CNTRL
unconditional exit
 
! End of rw.fsp

See also:

EXIT

FORTRAN

QUIT

START INTERACT


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