Edit – Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 137

Advertising
background image

Chapter
Commands

10

10 -7

Use the EDIT command to access the BASIC line editor. Use this editor to
edit a line of the current program in RAM.

Operation

Function

Key Strokes

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

- exits the editor and

replaces the old line with the edited line

- exits the editor without

saving any changes made to the line

Ctrl

+

Q

Ctrl

+

C

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 .

total line length is 79 characters.

Ctrl

+

A

Important: You must press a second
to terminate the insert

command

Ctrl

+

A

Ctrl

+

A

move

use the move operation to provide
right/left cursor control

- moves the cursor one

space to the right

- moves the cursor one space

to the left

Backspace

Space

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

retype

use the retype operation to copy the
current line of text and insert it at the
line following the current line.
The cursor moves to the first
character on the new line

Return

Syntax

EDIT

line number

Return

Example

>EDIT 150

Result: Displays program line number 150 for editing.

EDIT

Advertising