Download Print this page

VTech PreComputer 2000 Manual page 20

Advertisement

Here are some other commands that can be used
NEW
This command clears the memory of any BASIC statements that have been
previously entered.
LIST
This command displays each line of your program starting with the lowest line
number. Each time you press
ENTER,
the next lines are
displayed.
You can stop
this by pressing the SHIFT and BREAK keys
.
If you enter the command with a
line number after the word like this
,
LIST
50,
the PRECOMPUTER 2000 will list
the statement at line 50
.
RUN
This command instructs PRECOMPUTER 2000 to begin executing each BASIC
statement with a line number that was typed into
memory.
The computer will start
with the lowest line number and proceed up to the highest numbered statement
.
EDIT
Use the EDIT command when you want to change a statement that has been
typed into memory without re-typing the entire
line.
Just type EDIT and the line
number and press the ENTER key. The statement will appear in the
display.
Use
the LEFT-ARROW and RIGHT-ARROW keys to move the cursor. Use the DEL
key to remove an unwanted one, or type in a new character.
You can type in line numbered BASIC statements in any order. The PRECOMPUTER
2000
will sort them out for
yo-
u and LIST them or RUN starting with the lowest
numbered one to the highest numbered one. It is a good idea to number your
lines in increments of 10 (10, 20, 30 ... ) or 100
(100,
200, 300 ... ). This way you
have room to add more statements if you decide to change your program in the
future.
You can insert an
entirely·
new line in a program by using a line number that doesn't
exist between two existing ones. You can delete an existing line-numbered
statement by merely typing the line number and pressing the ENTER
key.
Of
course, you can change an existing line by merely retyping the entire line.
CONT
This command causes the program to resume executing after encountering the
BASIC command called STOP. The program will be carried on with the next
statement after STOP. You can type CONT to resume the program after you hit
the SHIFT and BREAK
keys.
19

Advertisement

loading