Editing a simple procedure, 4 editing a simple procedure – Rockwell Automation 1771-DB Basic Module User Manual - Series A User Manual
Page 152
Advertising
![background image](/manuals/579830/152/background.png)
Editing A Procedure
Chapter 8
8–4
The following example shows you how to edit a simple procedure.
Example:
When the screen shows
You do this
LIST
10 EM
10 REM
20 FOR I = 1 TO 6
20 FOR I = 1 TO 6
30 PRINT I
40 E T I
40 NEXT I
READY
READY
u
Type EDIT 20 then [RETURN]
EDIT 20
20 fo I
1 T 6
20 for I = 1 TO 6
Press the space bar 18 times to move the cursor to 6 (MOVE right
feature).
Type 9 to change 6 to 9 (REPLACE feature)
Press space bar once, type STEP, press space bar once, type 2
Press [CTRL]A to exit the insert
Press [CTRL]Q to exit the editor with the changes accepted
READY
Type LIST then [RETURN]
uLIST
10 REM
20 F
I
1 o 9 STE 2
20 FOR I = 1 to 9 STEP 2
30 PRINT I
40 NEXT I
40 E T I
READY
u
8.4
Editing a Simple
Procedure
Advertising