Get the number of records in the currently selected text file
HB_FLastRec() -> nLastRecordNum
An integer containing the number of records in the text file in the currently selected text file workarea, or zero if no file is currently open in the workarea or file is empty
HB_FLastRec() returns the number of the last record in a text file.
A text file “record” is a line of text terminated by a CRLF pair.
HB_FUse( "test.txt" ) ? HB_FLastRec()