FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


REDIRECT LOGICAL UNIT TO THE TERMINAL

Syntax:

[DO NOT] REDIRECT [LOGICAL] UNIT <integer> TO [THE] TERMINAL

Function:

READ statements to the specified logical unit are modified to read from the current terminal input logical unit, and write statements are modified to write to the current terminal output logical unit. By default, these are units 5 and 6, but they may be changed by the commands TERMINAL INPUT LOGICAL UNIT and TERMINAL OUTPUT LOGICAL UNIT. OPEN statements for the terminal units may be suppressed by the command COMMENT-OUT OPEN OF THE TERMINAL.

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 redirected by default.

See Also:

COMMENT-OUT OPEN OF THE TERMINAL

TERMINAL INPUT LOGICAL UNIT

TERMINAL OUTPUT LOGICAL UNIT


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