Download Print this page

VTech PreComputer 2000 Manual page 35

Advertisement

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 line number
and press the ENTER key. The statement will appear on the
display.
Use the
LEFT-ARROW and RIGHT-ARROW keys to move the
cursor.
Use the DEL key
to remove an unwanted character, or simply type in new characters.
Example:
10 INPUT B
EDIT 10
10 INPUT
B_
10 INPUT
.6.
10 INPUT C
press
ENTER
press
ENTER
You
can type in line-numbered BASIC statements in any order. The
PRECOMPUTER 2000 will sort them out for you and LIST them or RUN them
starting with the lowest 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
.
END
Line
#
END
The END statement is used as the last command in a program
.
It stops the
program
.
Examples
:
160 END
999 END
34

Advertisement

loading
Need help?

Need help?

Do you have a question about the PreComputer 2000 and is the answer not in the manual?

Subscribe to Our Youtube Channel