634
'RL' Mnemonic
Return Line Contents
Description
Use 'RL' to return the contents of the current line with the next terminal input.
Note: In graphics mode ( 'GS' ), if a terminal mnemonic transmits the contents of the
screen to the program, the data consists of four bytes for each character. The first two
bytes are background and foreground characters, the third byte holds character
attributes, and the fourth byte is the actual character on the screen.
Example
0040 PRINT
'CS'
0050 PRINT
@(5,5),DIM(10,"A")
0060 INPUT
@(5,5),'RL',B$
0070 PRINT
B$
When Run:
AAAAAAAAAA
AAAAAAAAAA
'RM' Mnemonic
Reset to Default Mode
Description
Use 'RM' to reset to default modes/attributes (colour, reverse video mode,
'RP' Mnemonic
Terminal Read to End
Description
p.641, except that it reports values from the current cursor location to the end of the
screen. ('TR' returns the screen contents from 0,0 to the current cursor location.)
'RS' Mnemonic
Restore Screen
Description
Use 'RS' to restore the complete terminal screen from the information in memory.
This mnemonic can be used to reset the screen after transmission errors or when
operating system output has disrupted screen contents.