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 111 Adding Information to a Master File with a Video Form
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
ZK6089GE
Date Hired:__/__/__ Next Review Date:__/__/__
*******PERSONNEL MASTER FILE DATA INPUT FORM****
Employee Number:____________ Wage Class:______
Employee Name:___________________________________
Employee Address:________________________________
Employee Phone No.:______________________________
Department:______________________________________
Supervisor Name:_________________________________
Supervisor Phone No.:____________________________
Current Salary:$_________________________________
Designing Your Form with ACCEPT and DISPLAY Options
When you design a video form, you can use the ACCEPT and DISPLAY options to
do the following:
Erase specific parts or the entire screen.
Use relative and absolute cursor positioning.
Specify video attributes of data to be displayed and accepted.
Convert data to appropriate usage when accepting or displaying data.
Handle error conditions when accepting and displaying data.
Provide screen protection by limiting the number of characters typed on the
terminal when accepting data.
Accept data without echoing.
Specify default values for ACCEPT statements.
Define and handle special control keys for ACCEPT statements.
Allow field editing.
The remainder of this chapter describes these topics.
11.2.1 Clearing a Screen Area
To clear part or all of your screen before you accept or display data, you can use
one of the following ERASE options of the ACCEPT and DISPLAY statements:
ERASE SCREEN—Erase the entire screen before accepting or displaying
data at the specified or implied cursor position.
114 Using ACCEPT and DISPLAY Statements for Input/Output and Video Forms