Editors > Editor Reference > Editor Commands > AR (Replace Again)

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

AR - Replace Again (Editor) (m618503+ar.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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.

 

RealityV15.1 (MoTW) Revision 7Comment on this topic