FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


TERMINAL INPUT LOGICAL UNIT

TERMINAL OUTPUT LOGICAL UNIT

Syntax:

[NO] TERMINAL INPUT [LOGICAL] UNIT <integer>

[NO] TERMINAL OUTPUT [LOGICAL] UNIT <integer>

Function:

These commands specify the logical unit numbers used for terminal input and output. The specification is used by 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:

No


Interactive command files

No


Embedded in the Fortran code

Yes


Default:

By default, unit 5 is assumed to be used for terminal input and unit 6 for terminal output. Note that defaults may be changed in the configuration file.

Example:

To specify the use of logical units in a program in an fsp file:

% indexed units 14 15 16 17
% non-indexed units 1 2 3 4 8 9
% terminal input unit 5
% terminal output unit 6

See also:

CHANGE ISAM FILE ACCESSES TO SUB-PROGRAM CALLS

INDEXED UNIT


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