|
What is QBasic?
|
Microsoft QBasic is a high level programming language using which, you can make simple MS-DOS programs. It is a sensible starting point for anybody who would like to learn computer programming. In a QBasic program, you can perform many simple tasks, and the user is able to interect with it. You can use QBasic to perform complexed mathematical calculations, use different colours, display graphics and much, much more, although you need a little practice before working with graphics.
|
|
|
|
How do I make programs?
|
When you run QBasic, you are presented with a text box. In this, you must type commands to create a program. Here are some of the basic commands you will need; more are contained in the Help File (qbasic.hlp) which you can download below. CLS - Clears the screen PRINT "text" - Substitute the word "text" with text you would like to be displayed on the screen. (Remember the quotation marks!) INPUT "question "; a$ - INPUT is a command which prompts the user for a response. The semi-colon (;), puts a question mark after the text. If you don't want this, put a comma (,) instead. COLOR - Follow this command with a number between 1 and 15 for a static colour or add 16 to the number of a colour to make it flash.
|
|
|
|
Contact Us!
|
This web-site was written and produced by James Batty and David Skaife who live in Crewe, Cheshire, England. We would appreciate any comments and suggestions which you can e-mail to [email protected]
|
|
|
|
|
|