Using ACCEPT and DISPLAY Statements for Input/Output and Video Forms
11.2 Designing Video Forms with ACCEPT and DISPLAY Statement Extensions
Figure 11–3 Positioning the Data on Line 19, Column 5
12345678901234567890123456789012345678901234567890123456789012345678901234567890
4
1
2
3
5
6
7
8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ZK−6092−GE
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 11–7
Содержание COBOL AAQ2G1FTK
Страница 22: ......
Страница 30: ......
Страница 94: ......
Страница 110: ......
Страница 146: ......
Страница 180: ......
Страница 194: ...Processing Files and Records 6 1 Defi...
Страница 300: ......
Страница 490: ......
Страница 516: ......
Страница 517: ......
Страница 530: ......
Страница 534: ......
Страница 590: ......
Страница 620: ......