EDIT
Purpose
Enters the BASIC edit mode.
⎧ [ start line number ] ⎫
⎪ └───────┬───────┘ ⎪
EDIT ⎨ Line number or period ⎬
⎩ [ . ] ⎭
Example
EDIT 100
Parameters
start line number: Integer in the range of 1 <= line number <= 65535 (first line
number when start omitted)
Explanation
- Enters the BASIC edit mode and displays the program from the specified line number.
The cursor is displayed and editing becomes possible when either the ⇦ or
⇨ key is pressed.
- Using a period in place of the line number displays the most recently handled
(i.e. written, edited, executed). If a program is halted during execution by an error,
executing
EDIT .
displays the line in which the error was generated.
- When the specified start line number does not exist, the first line number above
that specified is taken as the start line number.
- This command cannot be used when a password is registered.
- This command cannot be used in the CAL mode.
- This mode is cancelled by pressing the BRK key.
See