EDIT {line-no}

EDITS the specified line. If a line number is not specified, the last line on which you worked will be displayed. (If an error was just reported, that line will be in the EDIT buffer.) The following keys have special meaning during an EDIT.

<^D>
Moves the cursor one position to the right.
<^S>
Moves the cursor one position to the left.
<DEL>
DELETES the character under the cursor and moves the line, to the right of the cursor, one character to the left.
<^L>
Moves the cursor to the right, but changes all UPPER CASE LETTERS TO lower case.
<^F>
Moves the cursor to the start of the next word. A word is defined as being any sequence of characters that is separated on both sides by a space.
<BREAK>
Abandon the EDIT and leave the line unchanged.
<CR>
Terminate the EDIT and insert the line back into the program file. If the line number has been changed, the old version will remain intact and the new line will be inserted at the appropriate place.

Finally, for Premium Series microbee's, the left arrow and right arrow keys will move the cursor in the appropriate directions.

Examples

EDIT 100
EDIT line 100. The line will be printed on the screen ready for editing.
EDIT
The last line that was accessed by EDIT will be printed on the screen ready for editing.

See also GX.