1.

Solve : In need of a sample menu program written in QBASIC?

Answer»

I have just rebuilt an old IBM Aptiva and have put just DOS 6.22 on it. I am going to use this SYSTEM just for old DOS games and would like to have a menu to make it easy for everyone who may use it to choose which game they would like to play. QBASIC is already on here but my problem is that I have not used it in over 25 years and have forgotten how to use it. I have a total of 18 categories that I will have on it, maybe more later as I expand. Some categories to get started with are: Trivia; Board and Card Games; 3D Shooting; Simulation; and Space. Some games to get me started with and their cat.: 3D Shooting; DOOM, DOOM II, Duke Nukem 3D; Simulation; SimTower, SimCity, SimCity 2000; Trivia; Bible Trivia, STAR Trek: TNG, Star Trek; Space; EGA Trek. As for the file path, I know I will have to insert that myself but should be marked so that I know where. Thank you so much in advance.

AndyWhich version of QBASIC?
from dos you can run a QNASIC program this way

QBASIC MENU /RUN

It will load and run MENU.BAS, if it is a valid file.

Code: [Select]10 REM SIMPLE MENU
PRINT "your choice"
PRINT "1 Nuke eem"
PRINT "2 Sim Ciry"
INPUT a
IF a = 1 THEN SHELL "DIR N*"
IF a = 2 THEN SHELL "DIR S*"
GOTO 10
Thank you, that helped a little. I have expaned on that a lot.

AndyWith respect, you could always use "Direct ACCESS 5". I have to use this 1982 software in running VBDOS PROGRAMMES in XP.Quote from: KRAUSS on January 08, 2010, 07:14:39 PM

With respect, you could always use "Direct Access 5". I have to use this 1982 software in running VBDOS programmes in XP.

Where from? It is not built-in


Discussion

No Comment Found