EDITOR

Table 2-1. Primary EDIT/3000 Commands

Command

Purpose

Example

 

 

 

ADD

To enter lines of text in to the work ￿le or

ADD 60,HOLD

 

from the hold ￿le

 

 

 

 

CHANGE

To replace old text with new text

CHANGE "RECORD" TO

 

 

"LINE" IN 40/70

 

 

 

COPY

To duplicate portions of text from one

COPY 11/20 TO 80 BY .1

 

location to another in the w ork ￿le

 

 

 

 

DELETE

To delete characters and lines from the

DELETE

 

work ￿le

50/75,150(3)/155(7)

 

 

 

END

To terminate execution of EDIT/3000

END

 

 

 

FIND

To locate a poin t in the work ￿le

FIND *; FIND "PROGRAM"

 

 

 

HOLD

To copy text from the work ￿le into the

HOLD 100/150,APPEND;

 

hold ￿le (either replacing or appending)

HOLD 1/10

 

 

 

INSERT

To insert text into the work ￿le from the

INSERT 25(4)

 

terminal and the hold ￿le

 

 

 

 

JOIN

To add all or part of a ￿le to the w ork ￿le

JOIN FILE02 TO 1000 by

 

 

.1

 

 

 

KEEP

To save all or part of the w ork ￿le in a

KEEP FILE02

 

user ￿le

 

 

 

 

LIST

To display any part or all of the work ￿le

LIST 10/30

 

 

 

MODIFY

To modify text in the w ork ￿le using

MODIFY 50/100

 

three operations of delete (D), insert (I),

 

 

and replace (R)

 

 

 

 

REPLACE

To replace lines in the w ork ￿le

REPLACE 10/20,HOLD,NOW

 

 

 

MPE/iX Commands 2-69