BASIC/Visual Basic >> keeping score
Posted by Brad on 06:19:00 07-18-2001
Hi everyone! I'm Brad and a newbie to YPN.I
recently Dloaded a couple snipets and picked
them apart.Well heres the story.one wasss a
die (dice)rolling snipet with a loop.Now it is rolling three dice instead of 1 I'm incorporating a text adventure game in and a
check book balancing snipet all in 1. so far
all three dice roll according,the text based adventure is far out front.Those two areas are fine.The problem is with the checkbk part
No matter how I arrange in the placement of
adding the checkbk.I can only get one function to opperate at any given time.I can use the check stub section to keep track of
the dice in what was rolled or how many rolls
have been completed.Can't seem to get both at the same time.Also am able to use the calculator to talley a score and keep track of two players.Iwould like to have all three features in my little game.Any ideas? I'm doing this with Qbasic4.7 least thats whatthe
version says.When I download according to my
version of qbasic I spend a lot of time searching for different commands to get the output for the command that the help file says to use but the actual exe wont accept that particular command.Need some help.
Thanks for reading
Brad
Posted by robost86 on 08:40:00 07-18-2001
Doing multitasking in QBasic (I think that is what you want to do), is pretty hard. I think there is some library to do that, but that is pretty hard to program. I would recommend you to find some way so you don't need two processes running on the same time.

About the other problems... It would maybe be easier if you posted the code you are asking us to fix (if it's not too long).