FPARAM - set I/O parameters.
Usage:
call fparam(func, param [, length])
Where:
- func
- is an integer value specifying which parameter to set.
- 1
- set the terminal line length. The line length
should be a multiple of 4, and should not exceed
160. (default 80)
- 2
- set the media code for unformatted output files.
(default 1)
- 3
- set the prompt to use when reading data from the
terminal. (Default
<CR><LF>=<DEL>)
- 4
- set the terminal end of file character. (Default
is ASCII file separator (octal 034))
- 5
- keep trailing blanks on terminal output. If
"param" is zero, trailing blanks will
trimmed.
- param
- is an integer expression with the new parameter value.
- length
- for function 3 this is the number of characters in
"param". (Default 4.)
Examples:
call fparam(3, o"015012000000", 2)
Will set the input prompt to a simple <CR><LF>
sequence.
Description:
FPARAM sets some parameters used by the I/O library.
Copyright © 1996, Thinkage Ltd.