Compaq AAQ2G1FTK Marine Radio User Manual


 
Using ACCEPT and DISPLAY Statements for Input/Output and Video Forms
11.2 Designing Video Forms with ACCEPT and DISPLAY Statement Extensions
Figure 113 Positioning the Data on Line 19, Column 5
12345678901234567890123456789012345678901234567890123456789012345678901234567890
4123 5678
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ZK6092GE
Employee name:
If you use LINE, but not COLUMN, data is accepted or displayed at column 1 of
the specified line position.
If you use COLUMN, but not LINE, data is accepted or displayed at the current
line and specified column position.
If you do not use either phrase, data is accepted or displayed at the position
specified by the rules for Format 1 ACCEPT and DISPLAY in the Compaq
COBOL Reference Manual.
Note
The presence of either or both the LINE and COLUMN phrases implies
NO ADVANCING.
You can use the PLUS option with the LINE or COLUMN phrases for relative
cursor positioning. The PLUS option eliminates the need for counting lines or
columns. Cursor positioning is relative to where the cursor is after the previous
ACCEPT or DISPLAY. If you use the PLUS option without an integer, PLUS 1 is
implied.
To get predictable results from your relative cursor positioning statements, do
not:
Cause a display line to wrap around to the next line.
Accept data into unprotected fields.
Go beyond the top or bottom of the screen.
Mix displays of double-high characters and relative cursor positioning.
Using ACCEPT and DISPLAY Statements for Input/Output and Video Forms 117