oldline Parameter

Sets or queries the old line value for the current line.

Scope: Line

Syntax

set oldline Linenumber

query oldline

Options

Linenumber
A number to be used as the old line value for the current line.

Description

You can associate an old line value with each line in a document. You can then later locate that line using the oldline option of the find command.

Unless specifically set, the old line value for a line defaults to zero. Use the setoldlines command or the oldline parameter to assign an old line value to a line or set of lines.

Example

1. To assign an old line value of 81 to the current line, type:

set oldline 81 

2. To query the old line value of the current line, type:

query oldline 

API Return Codes

-2 The option specified is not valid.


find Command
linenumber Parameter
setoldlines Command