R / RR - Repeat Lines

Syntax


R[n]

RR[n] / RR



Operands


n

The number of lines to be repeated. If you do not type a number, or if the number you type is 1, only the line on which you type R is repeated


Description

To repeat one or more lines:  

    1. Type R in the line command area of the line that is to be repeated. If you want to repeat the line more than once, type a number that is greater than 1 immediately after the R command.
    2. Press Enter.
    3. The editor inserts a duplicate copy or copies of the line immediately after the line that contains the R command.


To repeat a block of lines:  

    1. Type RR in the line command area of both the first and last lines to be repeated. You can scroll (or use FIND or LOCATE) between typing the first RR and the second RR, if necessary.
    2. Press Enter.
    3. The lines that contain the two RR commands and all of the lines between them are repeated immediately after the line that contains the second RR command.



Using the R command with the Forward and Backward Modifiers


If the R command is specified as R/ or R\ it means all lines (forward or backward) are repeated as a block, one time.


Created with the Personal Edition of HelpNDoc: iPhone web sites made easy