xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_F_Eof()

Tests for End-of-file with binary files.

Syntax

HB_F_Eof( <nFileHandle> ) --> lIsEndOfFile

Arguments

<nFileHandle>
This is a numeric file handle returned from function FOpen(), FCreate(), or HB_FCreate().

Return

The function returns .T. (true) when the file pointer has reached the End-of-file and no more bytes can be read from <nFileHandle> with FRead(). Otherwise, .F. (false) is returned.

Info

See also:FRead(), FSeek(), HB_FCreate(), HB_FCommit()
Category: File functions , Low level file functions , xHarbour extensions
Source:rtl\philes.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe