Alliedassault           
FAQ Calendar
Go Back   Alliedassault > Lounge > Offtopic
Reload this Page Programmers! HELP!
Offtopic Any topics not related to the games we cover. Doesn't mean this is a Spam-fest. Profanity is allowed, enter at your own risk.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old
  (#14)
Mosquito is Offline
Senior Member
 
Posts: 1,035
Join Date: Jan 2002
Location: Ottawa, Ontario
   
Default 11-27-2002, 11:42 AM

Dont know anything about QBasic, but it has to have if then statements

(if it has switch statements you could use them too, but there's not really many selections there) You want something along the lines of :

1) if (a == "get up and rush to school) then
if (b == "sign in and go to class) then
do something
else if (b == "sign in and wander around")
do something else
else
do some other thing
else if (a ==....

ie, bunch of embedded if's

what school still teaches QBasic though? that really sucks big!!
Get into a good C++ program then ask lol
  
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.