lastline Parameter

Displays the last line obtained by lineread.

Scope: Global

Syntax

query lastline 

Description

The lastline parameter displays the line of data read by the most recent lineread command. The key that terminated the lineread is available by using query lastkey. The string <Null> is returned if lineread was not accepted a line with no data typed in it.

Example

To return the last line obtained by lineread, type:

query lastline 

API Return Code

-1 
You cannot issue the set command for this parameter.

lastkey Parameter
lineread Command