home *** CD-ROM | disk | FTP | other *** search
- SET TALK OFF
- @ 9,14 clear to 13,56
- @ 9,14 TO 13,56 double
- @ 10,16 say 'Menu Item 1 Menu Item 2 Menu Item 3'
- @ 11,16 say 'Menu Item 4 Menu Item 5 Menu Item 6'
- @ 12,16 say 'Menu Item 7 Menu Item 8'
- MENUBAR = chr(8)+' '+chr(11)+chr(16)+chr(3)+chr(3)+chr(8)
- MENUBAR = MENUBAR +chr(14)+chr(13)+chr(31)+chr(79)
- call MENUBAR with MENUBAR
- CHOICE = asc(substr(MENUBAR,1,1))
- KEY = asc(substr(MENUBAR,2,1))
- @ 10,15 clear to 12,55
- @ 11,16 say 'You chose Menu Item' + str(choice,2)
- @ 12,16 say 'Using the '+iif(key=13,'RETURN','Esc')+' key'
-