Editors > Editor Reference > Editor Commands > N (Next)

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

N - Next (Editor) (m618503+n.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

N - Next

Increments the line pointer by a specified number of lines (default, one line) and lists the new current line.

Syntax

N{n}

Syntax Elements

n is the number of lines to increment the line pointer.

Comment

If you specify a value for n that is greater than the number of lines in the item, the Editor moves the line pointer to the end of the item.

Example

:EDIT FILE1 ITEM1
Top
.L99
001 AAAAA
002 BBBBB
003 CCCCC
004 DDDDD
005 EEEEE
006 FFFFF
EOI 006
.RETURN
Top
.RETURN
001 AAAAA
.RETURN
002 BBBBB
.N2
004 DDDDD
.


List command. List the first 99 lines in the item.
Item has only 6 lines, so entire item is listed.






Null command.

Because current line pointer is at EOI, the first line is listed.
Null command. Lists next line.

N (next) command. Moves down 2 lines and lists line.

 

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