Beginner's Programming Tutorial in QBasic

(Kiana) #1

Your first program


After launching the QBasic interpreter (see before you start ), you might see a window requesting
a list of "parameters." If this window comes up, press the Enter key to continue.
You should now see the QBasic interpreter, which has a blue background and displays a dialog
box at the center. (If the interpreter fills the entire screen, then you may want to press "Alt +
Enter," to make it smaller.)
Press the Esc key to hide the dialog box.


QBasic interpreter - main screen

Type the following (including the quotation marks) in the QBasic interpreter:
PRINT "Hello World!"
Now press F5 to run the program. You should now see a black screen, with Hello World at the
top, and Press any key to continue at the bottom.
Press a key on the keyboard to return to the main screen.

Free download pdf