3/14/2021 0 Comments Qbasic 64 Manual
I never use QBasic, but when I need to look something up, I use the QB Online Help at Qbasicnews instead of having to go to my manual.They are fundamentally the same, and actually the QB Online Help is better and quicker to use.
I much prefer to have a manual that I can hold and consult when my computer is not on. I like the quickness of having info available on-line most of the time, but it does NOT replace a book. Moneo, do you want to sell your reference manual I think I can use my old VBDOS reference manual for most of what I need to refer too. Yes, Vic, a hardcopy of the manual is always the best --- Im an older person too. However, while you acquire a manual, the QB Help is an excellent alternative. Ill inquire how much it would cost here in Mexico City to copy it, and then how much it would cost to ship it to you (where are you). Somehow I get the feeling that you could get a less expensive original shipped to you from somewhere on the Web. Once changed, all output will be in the new color until COLOR or CLS is used. Qbasic 64 How To Gather InputThis section will attempt to teach you how to gather input upon request from the user. If any non-numeric key is entered, the error message Redo from start will be output and the INPUT command rerun. Note the use of spaces so that the final printed text reads properly. If input is taken beyond the file end, the error: Input past end of file is issued. Optionally you can use the RUN menu located on the menu bar at the top of the IDE window. The words Hello World should appear on the upper left hand side of the screen. If you press F5 again, another line of text saying Hello World will appear on the upper left hand side of the screen pushing the first one down to the second row of the screen. You can follow the same procedure for the rest of the example programs in this wikibook. It is the command that we will be exploring through this section. The argument in the Hello, World program we just ran were the words Hello, World. So, PRINT is the function and Hello, World is the argument we pass to the function. Likewise you can use a single quote in place of the key word REM to insert comments in your code. In this example, after Good Bye two commas are used to move For Now over two tab columns. You can put information in them and later change the information to something else. In this first example they may not seem very useful but in the next section (Input) they will become very useful. A string variable holds a string of characters, such as words. A character is a letter, digit or symbol.) In this case, the characters are letters. Whatever value you assign to hello will be displayed in the PRINT statement. Numeric variables do not have a special ending like string variables. Contrary to Cartesian coordinates which read (X,Y), the locate statement is LOCATE Y,X. In this case Y is the distance down from the top of the screen and X is the distance from the left side of the screen. Each three-line piece of code specifies what the color, location and form of its part of the face. The new statement COLOR allows you to change the color of the text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |