Vtech PreComputer Power Pad Plus User Manual - Page 52

Enter

Page 52 highlights

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 EDIT 10 press ENTER 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 48

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

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