AR - Replace Again

Repeats the last R (Replace) command.

Syntax

AR

Comment

If no prior R command has been issued, there is no display. The Editor again prompts you with a period.

Example

:ED F1 ITEM3
Top
.P
001 ABCABCABC
002 CDECDECDE
003 EFGEFGEFG
004 GHIGHIGHI
005 IJKIJKIJK
EOI 005
.T
Top
.Return
001 ABCABCABC
.R/A/X
001 XBCABCABC
.AR
001 XBCXBCAB
.




Current contents of ITEM3.









R command replaces the first occurrence of A with X.

AR command repeats the R command, replacing the second occurrence of A with X.