IBM 5110 User Manual page 139

Apl
Table of Contents

Advertisement

134
Note: Each character position on the display screen is considered one
record. The character positions are numbered as follows:
LINE
15
0
14
64
13
128
12
192
11
256
10
320
9
384
8
448
7
512
6
576
5
640
4
704
3
768
2
832
1
896
0
960
For example:
CTI...~··O
20
- - - - - - 6 3
- - - - - - 1 2 7
- - - - - - 191
- - - - - - 2 5 5
- - - - - - 3 1 9
- - - - - - 3 8 3
- - - - - - 4 4 7
- - - - - - 5 1 1
- - - - - - 5 7 5
- - - - - - 6 3 9
- - - - - - 7 0 3
- - - - - - 7 6 7
- - - - - - 8 3 1
- - - - - - 895
- - - - - - 9 5 9
- - - - - - 1 0 2 3
1.
0 • - - - - - - Read 10 characters starting
with character position 20.
When the CTL shared variable specifies that characters be read, the
cursor appears on the display screen at the character position
specified by the starting character number. You can then modify the
information on the display screen for the specified number of
character positions. Also, the insert,. delete, and A TIN key perform
the same functions within the specified number of character positions
as they do during standard APL keyboard input. Then, when the
EXECUTE key is pressed, the specified characters are read from the
display screen and assigned to the DAT shared variable as a character
vector.
When the CTL shared variable specifies that characters be written, the
data currently assigned to the OAT shared variable is written to the
specified positions on the display screen. DAT must be a character
vector with at least as many characters as specified by the CTL shared
variable.

Advertisement

Table of Contents
loading

Table of Contents