U - Up

Decrements the line pointer by n lines, and then lists the new current line.

Syntax

U{n}

Syntax Elements

n is the number of lines to decrement.

If n is zero or omitted, the current line is listed.

Message

The message Top  is displayed if the line pointer is at the beginning 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
.U2
002 BBBBB
.



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 command.
Moves down 2 lines and lists line.
U command.
Moves up 2 lines and lists line.