VTech Precomputer Power Pad Plus User Manual

Page 52

Advertising
background image

48

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 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

press ENTER

EDIT 10

press ENTER

10

INPUT B_

Then use Left-Arrow key to move the cursor back under“B”.

10

INPUT B

Then type in “C”.

10

INPUT C_

You can type in line-numbered BASIC statements in any order. PRECOMPUTER POWER
PAD™
PLUS 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 re-typing 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

Advertising