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
/
EXAM06.CTL
< prev
next >
Wrap
Text File
|
1993-01-07
|
586b
|
32 lines
/* EXAM06.CTL
- *001 Main menu
SET CURSOR ^C2=>
KEY (UP) FIELD -1
KEY (DOWN) FIELD 1
KEY A,@1 CALL *002
KEY B,@2 CALL @003
KEY Q,@3 QUIT
/.
Select an option:
^K A. Display the current date and time
^K B. Do a directory of the default subdirectory
^K Q. Quit
./
- *002 Display the current date and time
KEY (ANY) POP
/.
Current date: ^EDATE^
Current time: ^ETIME^
Elapsed time: ^EETIME^
Press any key to return to the main menu
./
- @003 Do a directory
RUN DIR /W
ECHO Press a key to return to the main menu
PAUSE
POP