Move the record pointer to the first record in selected text file
HB_FGoTop() -> NIL
HB_FGoTop() moves the record pointer to the first record in the currently selected text file workarea.
A text file “record” is a line of text terminated by a CRLF pair.
HB_FUse( "test.txt" ) // open text file to the selected work area WHILE !HB_FEOF() ? HB_FReadLn() // read a record / line HB_FSkip() // Go to next record / line ENDDO HB_FGoTop() // go to top of file ( first record / line ) ? HB_FRecNo() // 1