fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
TERMINAL INPUT/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 specifications are 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 | Yes |
| Interactive command files | Yes |
| 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
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.