![]()
Maybe it should have been called the "brake" key. This is called "pressing the key." Don't worry, it doesn't really break your program, it just stops it and takes you back to QBASIC. The key is usually at the top of the keyboard and all the way over to the right. HOW DO I STOP IT!? Press the (Control) key and hold it down while pressing the key. DO.LOOPĭO and LOOP will do whatever is between the DO and the LOOP over and over again. You don't need to use my name, put yours in there instead ("Jack was here ", or whatever). Make sure you get the semi-colon ( ) at the end of the PRINT line, and the space between the word "here" and the last quotation mark. With the blinking cursor ( _ ) at the top-left corner of the screen, type this: - Moves the cursor to the end of a line.- Moves the cursor to the start of a line.- Removes the character to the left of the cursor.In case you haven't used these keys before, here's a list: If you've used your computer to do school work or write a report, you'll notice that most of the editing keys (,. We will learn more about the rest of QBASIC's screen as we go along. These are the most important areas to know for right now. The big blue area with the blinking cursor ( _ ) is where we can enter our programs. ![]() This will change when we learn to save programs. This means we haven't given the current program a name. Just under the menu is the word "Untitled". The menu has the following items: File, Edit, View, Search, Run, Debug, Options, and Help.Ĭlicking on any of these with the mouse will show more selections. QBASIC's Screenīefore we start, let's take a look at QBASIC's screen. Go ahead and press the key to "clear this dialog box" when it asks you. So power up the computer and get QBASIC's blue screen up in front of you. I'm assuming you will be following along with QBASIC in front of you. At the " C:\WINDOWS> _" prompt, try typing:Īnd then press the key to get rid of the DOS window. #Select case programs in qbasic how toDon't be alarmed, Appendix A shows you how to get it there. You will get the black window with the " C:\WINDOWS> _" prompt. Double-click on it to get the " C:\WINDOWS> _" prompt in a black window with white text. #Select case programs in qbasic windowsIf you are using Windows 3.1, you'll need to find the "Main" program group and look for an icon called "MS-DOS Prompt". In Windows 95, click on "Start", then "Programs", then "MS-DOS Prompt". It is the same as one of those, but I don't have a Windows 98 machine handy to test. In Windows 98, try the Windows 95 steps above, then try the Windows ME steps below. In Windows ME, click on "Start", then "Programs", then "Accessories", then "MS-DOS Prompt". Try the steps described for Windows 2000 above. In Windows NT 4, I believe it was called the "Command Prompt". In Windows 2000, it is called the "Command Prompt" and you can find it by clicking on Start, then Programs, then Accessories, then Command Prompt. If you are using Windows XP, it is called the "Command Prompt" and you can get to it by clicking on Start, then All Programs, then Accessories, then Command Prompt. #Select case programs in qbasic windows 7If you are using Windows 7 or later, you might need to use dosbox. ![]() ![]() (Parents and teachers, see the introduction I've written for you in Appendix B.)Ĭhapter 1 - Getting Started Getting to DOS Before long, you'll be writing your own programs. Then change the programs to do what you want them to do. An adult can help you get up to speed quickly. You might need to work through Chapter 1 first. The best way to start with this book is to type in some of the small programs you'll find in each of the chapters. By programming the computer you can solve math problems, create art or music, and even make new games. The computer follows each step and does exactly what It's a lot like giving someone directions to your house. With a programming language you can tell the computer what you want it to do. This book will help you get started by using QBASIC. It's a lot more fun to create your own games to play on the computer. You've probably used computers to play games, and to write reports for school. #Select case programs in qbasic softwarePermission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. QBASIC Programming for Kids QBASIC Programming for Kids by Ted Felix ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |