AT&T 6300 Programmer's Manual page 286

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

GWBASIC
Command
7-130
Redirection of Standard Input and
Output
Under GWBASIC you can redirect your Input
and Output. Generally, standard input is read
from the keyboard, but this can be redirected
to any file specified on the GWBASIC
command line. Standard output, generally
written to the screen, can be redirected to any
device or file specified on the GWBASIC
command line.
• When redirected, all INPUT, LINE INPUT,
INPUT$ and INKEY$ statements read from
the "stdin" specified instead of from the
keyboard.
• All PRINT statements write to the "stdout"
specified instead of the screen.
• Error messages go to standard output.
• File input to "KYBD:" reads from the
keyboard.
• File output to "SCRN:" outputs to the screen.
• GWBASIC continues to trap keys from the
keyboard when the ON KEY(n) statement is
used.
• The printer echo key does not cause LPTl:
echoing if Standard Output has been
re-directed.
• Typing CTRL BREAK causes GWBASIC to
close any open files, issue the message "Break
in line < line number>" to standard output,
exit GWBASIC, and return to MS-DOS.

Advertisement

Table of Contents
loading

Table of Contents