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
/
EXAM05.CTL
< prev
next >
Wrap
Text File
|
1993-01-07
|
624b
|
28 lines
/* EXAM05.CTL
- *001 Main menu
KEY A,(MOUSEL) CALL *002
KEY B,(MOUSER) CALL @003
KEY Q,(MOUSEB) QUIT
/.
Select an option:
A. Display the current date and time (left mouse button)
B. Do a directory of the default subdirectory (right mouse button)
Q. Quit (both buttons)
./
- *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