AP - Append

Appends a string to the end of the specified line(s).

Syntax

AP{m}/string
AP{m-k}/string
AP{m,n}/string

Syntax Elements

m is the number of lines to append string to, beginning with the current line. If m is not specified, it defaults to the current line.

m -k is line m through line k.

m ,n is n lines, starting at line m.

/ is a separator. You can use another character if '/' is used in the string to be appended.

string is the string to be appended.

Assembler Format

If the assembler display format is on, the string is appended to the end of the comment field.

Example

:ED BP XYZ
 Top
 .P
 001 AAA
 002 BBB
 003 CCC
 004 DDD
 005 EEE
 006 FFF
 EOI 006
 .AP1,3/XYZ
 001 AAAXYZ
 002 BBBXYZ
 003 CCCXYZ.




Current contents of item XYZ.






AP command appends the string 'XYZ' to lines 1 through 3 of item XYZ.
New contents of item XYZ.