Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : MENUBAR.ZIP
Filename : MBARTEST.PRG
Output of file : MBARTEST.PRG contained in archive : MENUBAR.ZIP
* MBARTEST.PRG - Demonstrates how to use Menubar.prg *
* *
* Copyright 1987 *
* Brian Gardner *
* Centra, Inc. 5156 Sinclair Road, Columbus, Ohio 43229 *
* 614-846-5200 (voice) *
****************************************************************************
CLEAR
PUBLIC mchoice
SET TALK OFF
SET ESCAPE OFF
SET HELP OFF
DO WHILE .T.
@ 1, 0 SAY ' MAIN MENU '
@ 22, 0 SAY ' Move the highlight with the direction keys and press
@ 23, 0 SAY ' or hit the first letter of your choice.'
DO Menubar WITH 'MAMMALS_FISHES_REPTILES_BIRDS_INSECTS_QUIT_','dbl',2,1,;
15,'n'
DO CASE
CASE mchoice = '1'
DO Menubar WITH 'Dogs_Cats_Cows & Horses_Primates_Return to ;
Main Menu_','sgl',2,20,40,'y'
DO CASE
CASE mchoice = '1'
CASE mchoice = '2'
CASE mchoice = '3'
CASE mchoice = '4'
CASE mchoice = '5'
ENDCASE
CASE mchoice = '2'
DO Menubar WITH 'Fresh Water Varieties_Salt Water Varieties_;
Return to Main Menu_','sgl',2,20,40,'y'
DO CASE
CASE mchoice = '1'
CASE mchoice = '2'
CASE mchoice = '3'
ENDCASE
CASE mchoice = '3'
DO Menubar WITH 'Alligators_Crocodiles_Snakes_Lizards_;
Return to Main Menu_','sgl',2,20,40,'y'
DO CASE
CASE mchoice = '1'
CASE mchoice = '2'
CASE mchoice = '3'
ENDCASE
CASE mchoice = '4'
DO Menubar WITH 'Domestic Birds_Tropical Bird Varieties_;
Return to Main Menu_','sgl',2,20,40,'y'
DO CASE
CASE mchoice = '1'
CASE mchoice = '2'
CASE mchoice = '3'
ENDCASE
CASE mchoice = '5'
DO Menubar WITH 'Flies_Bees_Roaches_Creepy Crawly Things_;
Return to Main Menu_','sgl',2,20,40,'y'
DO CASE
CASE mchoice = '1'
CASE mchoice = '2'
CASE mchoice = '3'
ENDCASE
CASE mchoice = '6'
EXIT
ENDCASE
ENDDO
CLEAR ALL
RETURN
**** end of mbartest.prg
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/