Modifying the text in a file – Xerox 721P85530 User Manual

Page 445

Advertising
background image

EDITOR QUICK REFERENCE

XEROX DOCUPRINT 180 LPS PDL REFERENCE

E-3

DISPLAY

•

Display a particular portion of the work file by entering:

DISPLAY

n-y

n is the starting line number to be displayed.

y is the ending line number to be displayed.

•

Display a single line, or record, of the work file by entering:

DISPLAY

n

n is the desired line.

•

Display a particular word or phrase within a work file wherever it
exists by entering:

FIND/

x/

x is the word or phrase to be found and displayed.

•

Display the starting and ending line numbers of the work file if
you wish to know on which lines the work file is located by
entering:

KEYS

The system provides these line numbers, as in this example:

EDIT KEYS

BEGINNING LINE NUMBER 00010

ENDING LINE NUMER 00190

EDIT.

•

Print a copy of the work file by entering:

PCE

This command is an abbreviated form of the PRINT, CLEAR,
and END commands.

Be sure to save the work file before using the PCE command by
entering:

SAVE

file-id

The

file-id consists of the file name and file type, represented as

file-name.file-type.

Modifying the text in a file

Use the following procedures to change lines of the source code in
your program:

Step 1.

Modify a portion of the work file line

or

Modify entire lines of the work file.

Step 2.

Save your source code file.

Step 3.

Terminate the editing session.

Advertising