HB_FAtEOF()

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()

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s