SECTION 3
Getting Started in Basic
BASIC PROGRAMMING LANGUAGE .................................... 3-3
Direct Mode .............................................................................. 3-3
Program Mode ......................................................................... 3-3
USING THE KEYBOARD............................................................ 3-4
Keyboard Character Sets ....................................................... 3-5
Using the Command Keys
.....................................................
3-5
Function Keys ......................................................................... 3-10
Displaying Graphic Characters ............................................ 3-10
Rules for Typing BASIC Language Programs
...................
3-11
GETTING STARTED—The PRINT COMMAND
...................
3-12
Printing Numbers.................................................................... 3-12
Using the Question Mark to Abbreviate the PRINT
Command............................................................................ 3-12
Printing T e xt............................................................................ 3-13
Printing in Different Colors .................................................... 3-13
Using the Cursor Keys Inside Quotes with the PRINT
Command............................................................................ 3-15
BEGINNING TO PROGRAM .................................................... 3-15
What a Program Is ................................................................. 3-15
Line Numbers ......................................................................... 3-15
Viewing your Program—The LIST Command
...................
3-16
A Simple Loop—The GOTO Statement
.............................
3-17
Clearing the Computer’s Memory
-T h e NEW Command
.....................................................
3-18
Using Color in a Program
.....................................................
3-18
EDITING YOUR PROGRAM .................................................... 3-19
Erasing a Line from a Program ............................................ 3-19
Duplicating a Lin e
.................................................................. 3-19
Replacing a Line .................................................................... 3-19
Changing a Line...................................................................... 3-19