Erase, Erase -9, Syntax – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 49: Example, Purpose

Publication 1746-RM001A-US-P
BASIC Commands 4-9
Syntax
EDIT
Example
>EDIT 150
Displays program line number 150 for editing.
ERASE
Purpose
Use the ERASE command to delete the last BASIC program stored in EEPROM
through a PROG command.
Syntax
ERASE
Table 4.2 BASIC Editor Operations
Operation Function
Key Strokes
Move
Use the Move operation to provide
right/left cursor control.
[Space bar]
– moves the cursor one
space to the right.
[Backspace]
– moves the cursor one
space to the left.
Replace
Use the Replace operation to replace
the character at the current cursor
position.
Press the key that corresponds to the
character that replaces the character at
the current cursor position.
Insert
Use the Insert operation to insert text
at the current cursor position.
Important: When you use the Insert
operation, all text to the right of the
cursor disappears until you press the
second
[Ctrl–A]
. Total line length is
79 characters.
[Ctrl–A]
Important: You must press a second
[Ctrl–A]
to terminate the Insert
command.
Delete
Use the Delete operation to delete the
character at the cursor position.
[Ctrl–D]
Exit
Use the Exit operation(s) to exit the
editor with or without saving the
changes.
[Ctrl–Q]
– exits the editor and
replaces the old line with the edited line.
[Ctrl–C]
– exits the editor without
saving any changes made to the line.
Retype
Use the Retype operation to copy the
current line of text and insert it at the
line following the current line. The
cursor is moved to the first character on
the new line.
[RETURN]