Chapter 15 - COLOR Sonu Yadav November 03, 2017 Tired of all this black and white? Then the COLOR statement is for you. Try this program for size: CLS COLOR 2, 0 PRINT ... Read More
Chapter 14 - OR and LEFT$ Sonu Yadav November 03, 2017 That last program works great, as long as the user always types in a lowercase "y". What happens if the user types in "ye... Read More
Chapter 13 - DO...WHILE Sonu Yadav November 03, 2017 Back in Chapter 4 we saw a DO...LOOP that went forever. There are a number of ways to make a loop stop. One way is to use WHILE. This ne... Read More
Chapter 12 - The Fortune Teller Sonu Yadav November 03, 2017 Here's a fun program that uses most of what we've learned so far to make a "Magic 8 Ball". CLS RANDOMIZE TI... Read More
Chapter 11 - Random Numbers Sonu Yadav November 03, 2017 Random numbers are numbers that you can't predict. Flipping a coin or rolling dice will give you a random number. Random numbers are... Read More
Chapter 10 - Equals Sonu Yadav November 03, 2017 So far, we've only let the user fill in our variables. We can fill in variables on our own inside our programs too. Like this: ... Read More
Chapter 9 - SELECT CASE Sonu Yadav November 03, 2017 IF...THEN...ELSE is fine if you only have two things you want to check. What if you have 5 or 6 friends that might use your computer and... Read More
Chapter 8 - Saving Sonu Yadav November 03, 2017 Before we get into some fairly big programs, let's look at how to save our masterpieces. Location Is Everything The first thing ... Read More
Chapter 7 - Numbers Sonu Yadav November 03, 2017 Computers are very good at math. Let's get the computer to do some math for us. Here's a simple multiplication calculator: ... Read More
Chapter 6 - IF...THEN Sonu Yadav November 03, 2017 Let's make that last program a little smarter. I want to be able to identify intruders playing with my programs. Wouldn't it be ... Read More
Chapter 5 - INPUT Sonu Yadav November 03, 2017 So far our programs have only talked to us. Let's write one that will listen. Get rid of the previous program by clicking on File, t... Read More
Chapter 4 - DO...LOOP Sonu Yadav November 03, 2017 Let's start a new program. To get rid of the old program, click on "File" on QBASIC's menu and you will see the File m... Read More
Chapter 3 - CLS Sonu Yadav November 03, 2017 It was probably a bit hard to find your messages on the screen with that last program. Wouldn't it be nice to be able to clear all t... Read More
Chapter 2 - PRINT Sonu Yadav November 03, 2017 Follow Along I'm assuming you will be following along with QBASIC in front of you. This won't be much fun if you aren't. So ... Read More
Chapter 1 - Getting Started Sonu Yadav September 21, 2017 Sonu Yadav Getting to DOS To run QBASIC we need to get to DOS. If you are using Windows 7, you might need to use dosbox. If y... Read More
Q-Basic Introduction Sonu Yadav September 21, 2017 Introduction You've probably used computers to play games, and to write reports for school. It's a lot more fun to create you... Read More
Q-Basic Programs for Practice Sonu Yadav September 21, 2017 Sonu Yadav 1)Write a program to enter your name and print it . CLS Input 'Enter you name';n$ Print 'The name is'... Read More