[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_HFILE File handle
------------------------------------------------------------------------------
Declaration
fileio.hdr
Syntax
typedef uint _HFILE
Description
The _HFILE type is used to declare a file handle. A file handle
is returned by the fbopen() and fbreopen() functions, and used
by the other binary file functions.
Example
#define EXAMPLE_TYPE
#include example.hdr
proc Test_HFILE
vardef
_HFILE hFile1, hFile2
enddef
if fbopen( hFile1, "c:\autoexec.bat", FB_READ )
hFile2 := fbreopen( hFile1 )
? hFile1, hFile2
fbclose( hFile1 )
endif
endproc
proc main
Test_HFILE()
endproc
See Also: fbopen() fbreopen()
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson