$GetL: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
m (Mlarocca moved page $GETL to $GetL: Lower case change)
 
(No difference)

Latest revision as of 17:49, 21 July 2014

The $GETL function returns the line number of the current line on the page on the user's terminal or on the output data set specified by a USE command. The first line on a page is line number 1 and is the line on which header 0 appears. The current line is the line actually being printed if $GETL is invoked:

  • From a PRINT statement
  • After a PRINT statement that ends with an ellipsis (...).

Otherwise, the current line is the next line to be printed. The current line becomes line 1 as soon as the bottom line of a page has been printed. $GETL takes no arguments.