The text window displays the contents of ASCII text files.
TX0$ COL=1 LINE=1e FNAME=TGRADES.DEMO.TELESUP
{-----------------------------------------------------------------}
{ Globally used TYPES }
{-----------------------------------------------------------------}
TYPE
GradeRange = MINGRADES .. MAXGRADES;
GradesArray = ARRAY [ GradeRange ] OF integer;
Class = ( SENIOR, JUNIOR, SOPHOMORE, FRESHMAN );
TX1$ COL=1 LINE=1 FNAME=UPOEM.DEMO.TELESUP
wl "Roses are red,"
wl "Violets are blue,"
wl "Some poems rhyme,"
wl "And this one does, too!"
Commands
window banner line
TX0, TX1 - Abbreviation for the window, and the text window number.
Currently, up to three text windows may be defined. The current text
window is indicated by flagging the window abbreviation in
half-bright inverse video. In this example, TX1 is the current text
window.
COL - The column number at which the window is aimed. Text windows
may be "shifted" to view data that would otherwise be off the end of
the screen.
LINE - The line number (file record number) at which the window
is aimed.
FNAME - The name of the file at which the text window is
aimed.
window body line(s)
text - The ASCII contents of the text file(s).
"." - Dots signify lines past the end-of-file count.
"x" - X's signify an error while reading the data for that line.
This could be a protection violation or some other cause (not shown
above).