Lines
LINES(<file number>)
The Lines internal function returns the number of lines printed since the last new page. File number should represent a display file. This function is identical to KREC as used with display files, just more appropriately named.