home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
d
/
demos301.zip
/
SAMPLES.ZIP
/
EXAM07.CTL
< prev
next >
Wrap
Text File
|
1993-01-07
|
973b
|
36 lines
/* EXAM07.CTL
- *SCR Basic input screen
SET CURSOR ^C2(^T8)
KEY (RIGHT) FIELD 1
KEY (LEFT) FIELD -1
KEY (UP) FIELD -3
KEY (DOWN) FIELD 3
KEY (HOME) FIELD TOP
KEY (END) FIELD BOTTOM
KEY @1 CALL @DISPLAY Field 1
KEY @2 CALL @DISPLAY Field 2
KEY @3 CALL @DISPLAY Field 3
KEY @4 CALL @DISPLAY Field 4
KEY @5 CALL @DISPLAY Field 5
KEY @6 CALL @DISPLAY Field 6
KEY @7 CALL @DISPLAY Field 7
KEY @8 CALL @DISPLAY Field 8
KEY @10 CALL @DISPLAY Field 10
KEY @11 CALL @DISPLAY Field 11
KEY @13 CALL @DISPLAY Field 13
KEY @14 CALL @DISPLAY Field 14
KEY @15 QUIT
/.
Use the cursor keys to select a cell below:
^K Field 1 ^K Field 2 ^K Field 3
^K Field 4 ^K Field 5 ^K Field 6
^K Field 7 ^K Field 8 ^K
^K Field 10 ^K Field 11 ^K
^K Field 13 ^K Field 14 ^K Quit
./
- @DISPLAY
ECHO ^P10,10^C2You selected ^E1^ ^E2^
PAUSE 2 /* Waits for two seconds or a user keystroke
POP