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.