Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_filebyte() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_FILEBYTE()

 DESCRIPTION

 C_FILEBYTE() reads one byte from the specified file handle.

 NOTES

 This function is an extension of Clipper's low-level file
 functions.  Clipper's function FOPEN() can be used to open the DOS
 file and obtain the file handle needed for this function.

 SYNTAX

 C_FILEBYTE(handle)

 PARAMETERS

 handle (N) is the file handle to read.

 RETURNS

 C_FILEBYTE() returns one byte as a character string, or a null
 string ("") if end-of-file.

 EXAMPLES

 f1 = fopen("DATA.TXT")     && Open the file

 ch = c_filebyte(f1)        && Read 1 byte from file handle f1


See Also: C_FILEREAD() C_FILEWRITE() C_FILESIZE() C_FILEEOF()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson