Z - Zone

To set print column limits for listing output of lines with the L (List) command.

Syntax

Z{p{-q}}

Syntax Elements

p is the starting column number.

q is the ending column number.

Column Limitations

Only column positions p to q of each line are listed.

If p and q are omitted, the zone is reset so that the entire line is listed.

If q is less than p or is omitted, q is set to p.

Example

:ED FN5 XX
NEW ITEM
Top
.I
001 ABC
002 ABCD
003 123456789
004 Return
Top
.Z2-3
.L99
001 BC
002 BC
003 23
EOI 003
.T
Top
.Z
.L99
001 ABC
002 ABCD
003 123456789
EOI 003
.

Edit a new item.


Insert text.
New text is inserted.




Z command limits listing output to columns 2 to 3.

Only columns 2 and 3 are listed.





Z command restores full line.