RCA CDPl8S693 User Manual page 23

Table of Contents

Advertisement

22
User Manual for Microboard Computer Development System CDP18S693 & CDP18S694
APPEND
Format: A
Execution: Lines are read from the input file
(continuing from the last line) and appended to the end
of the buffer. The operation continues until one of the
following occurs:
(1)
End offilecharacterdetected(i.e.,lastlinehas
been read).
(2)
3/4 of the remaining available space has been
filled.
(3)
50 lines have been transferred.
The pointer is repositioned to the beginning of the first
appended line. In large memory systems, multiple
appends may be used to bring additional lines into the
buffer.
Note: The keyboard BREAK key is ignored during
execution of this command only.
Deletion Commands
DELETE
Format: nD
Execution: n characters right (or left) adjacent to the
pointer are deleted.
KILL
Format: nK
Execution: n lines right (or left) adjacent to the pointer
are deleted.
Text Insertion and Data Manipulation
INSERT
Format: ltext$
Execution: Typed text is inserted to left of present
pointer position. The text may contain multiple lines.
SAVE
Format: nX
Execution: Copy n lines adjacent to the pointer into a
special SAVE area external to the buffer. The pointer
position is not changed. Previous contents of the
SAVE area are overwritten. CRE types CANT SAVE
if there is insufficient room in the SAVE area and it
does not save any lines. CRE clears the SAVE area if
n=0 (zero).
GET
Format: G
Execution: Equivalent to an INSERT, but using the
present contents of the SAVE area as an implicit text
argument. Note: SAVE and GET are especially useful
in sequence as a copying mechanism - to MOVE text.
CRE dynamically allocates the available RAM
work space to its SAVE area, stack area, and the buffer
or editing area. Once lines have been SAVE'd, they
remain in the SAVE area indefinitely until the next
SAVE command overwrites them. If many characters
have been SAVE'd, the area available for the buffer
will be proportionally reduced. The SAVE area is not
automatically cleared by a GET command. Several
GET commands may be issued against the same SAVE
area. It is good practice, therefore, to clear the SAVE
area when it is no longer needed in order to make that
area available to the buffer. This step is accomplished
by typing 0X (zero-X).
If an attempt is made to save more lines than there is
room for. CRE will type
CANT SAVE
and will not transfer any lines to the SAVE area.
FIND
Format: Ftext%
Execution: A search for the specified character
sequence text occurs from the current pointer position
toward the end of the buffer. It stops either when a
match is first encountered or when the end of the buffer
is reached. In the first case, the pointer ends positioned
immediately after the matching string. In the latter
case, a "CANT FIND" message is printed, and the
pointer position is unchanged.
SUBSTITUTE
Format: S search text $ substitute text $
Execution: Operates as FIND does above (using
search text as the search argument). However, on a
match, the substitute text replaces the matching
sequence - with the pointer positioned after the
inserted text. The substitute text must not be omitted
from the command.
Output Commands
DEFINE OUTPUT TAPE
Format: 0 (letter, not zero)
Execution: After the command, CRE asks: WRITE?
The user enters 0 or l, signifying appropriate tape,
followed by (CR).
TYPE
Format: nT
Execution: Type the n lines adjacent to the current
pointer. The pointer position remains unchanged.
WRITE and DELETE
Format: nW
Execution: n is treated as positive. The n lines at the
beginning of the buffer are written to the output tape
and also deleted from the buffer. The pointer ends up
positioned at the beginning of the lines remaining in
the buffer.
FILE CLOSE
Format: Y
Execution: Places an end-of-file marker (DC3) at the
end of the working buffer, outputs the buffer to the
write tape, and restarts CRE. This command is
normally used to end a file-creation edit session. It
should never be used for an edit of an existing file.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cdpl8s694

Table of Contents