HB_FAtEOF()
Chech EOF status of given work area
Syntax
HB_FAtEOF( <nWAraeNo> ) -> lResult
Argument
<nWAraNo> : Number of work area to EOF status queried
Returns
.T. if an attempt was made to skip past the last record of the given selected text file, otherwise .F.
Description
HB_FAtEOF() is similar to HB_FEOF()function; difference is HB_FAtEOF() works on given work area, not selected one.
Example
HB_FSelect( 1 ) HB_FUse( "test1.txt" ) HB_FSelect( 2 ) HB_FUse( "test2.txt" ) ... ? HB_FEOF() // EOF status of test2.txt file ? HB_FAtEOF( 1 ) // EOF status of test1.txt file
Seealso
HB_FEof(), HB_FGoBottom(), HB_FGoto(), HB_FGoTop(), HB_FInfo(), HB_FLastRec(), HB_FReadAndSkip(), HB_FreadLN(), HB_FRecno(), HB_FSelect(), HB_FSkip(), HB_FUse()