FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


CHANGE FILE I/O TO SUB-PROGRAM CALLS

Syntax:

[DO NOT] CHANGE FILE I[/]O TO SUB-PROGRAM CALLS

Important Note - Libraries for Use with this Command:

Please see the notes on Fortran compilation for the VX/Tools libraries.

Function:

This command is equivalent to CHANGE ALL I/O TO SUB-PROGRAM CALLS, except that I/O statements to the terminal are not modified. These are statements of the form:

        PRINT 100,X             ACCEPT 100,X
        TYPE 100,X              READ 100,X
        WRITE(*,100)X           READ(*,100)X
        WRITE(TTLUN,100)X       READ(TTLUN,100)X

where 100 is a format label or format expression, X is an I/O list, and TTLUN is the input or output terminal logical unit number. By default TTLUN is 5 for input and 6 for output, but it may be changed by the commands:

% TERMINAL INPUT UNIT: <integer>

% TERMINAL OUTPUT UNIT: <integer>

Please see the description of CHANGE ALL I/O TO SUB-PROGRAM CALLS for a detailed description of the changes made.

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

Yes


Default:

I/O statements are not changed by default.


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