| United States-English |
|
|
|
![]() |
EDIT/3000 Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 EDIT/3000 COMMANDSCOPY |
|
The COPY command copies the lines specified by range to the linenumber indicated. The new line numbers are incremented by the value specified in the command. If increment is not included, it defaults to the SET DELTA = increment in effect. If necessary, in order to fit the lines to be copied into the space available between existing lines, EDIT/3000 will adjust the increment in effect until the minimum increment of .001 is reached. If the lines to be copied will not fit into the available space, the error message "*18* INSUFFICIENT LINE NUMBERS OR WORK SPACE — COMMAND NOT PERFORMED" will be displayed and no text will be copied. During the copy, the line numbers of the lines being copied from and copied to are displayed thus:
where 5 represents the line number from which data is copied and 50 represents the line number to which the data is copied. If this output is not desired, it can be inhibited by adding Q to the COPY command. In an interactive session, a COPY command may be terminated by entering CONTROL Y. EDIT/3000 will reject a COPY command and print an error message if:
Several variations of the COPY command are shown in the following examples. The location of the pointer is illustrated at the conclusion of each COPY command.
The following example uses the command COPY ALL TO 2.1 BY .01 to copy all lines to 2.1, 2.11, 2.12, 2.13, 2.14, 2.15, and 2.16. The pointer is located at the first position of the last line copied (2.16).
The next example copies lines 2, 2.1, 2.11, 2.12, and 2.13 to a location starting at line 6.01.
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||