Move record pointer to specific record in the selected text file
HB_FGoTo( nLine ) -> NIL
<nLine> : the record number to go to
HB_FGoTo() moves the record pointer to a specific record in the file in the currently selected text file workarea. If the record number requested is greater than the number of records in the file, the record pointer will be positioned at the last record.
A text file “record” is a line of text terminated by a CRLF pair.
// read 5th line of text from file HB_FUse( ( "test.txt" ) HB_FGoTo( (5) c1Line := HB_FReadLn()