HB_FEOF

HB_FEOF

Check end of text file status

Syntax

      HB_FEOF() -> lResult

Argument

None

Returns

.T. if an attempt was made to skip past the last record of the currently selected text file, otherwise .F.

Description

This function is similar to the Harbour Eof() function.

A text file “record” is a line of text terminated by a CRLF pair.

Example

      HB_FUse( "test.txt" )

      ? HB_FEOF()        // .F.
      HB_FGoBottom()
      HB_FSkip()
      ? HB_FEOF()        // .T.

Seealso

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