File.ReadByte |
Top Previous Next |
Syntax function File.ReadByte(F: pointer): integer
Alternative Names
Description Reads a single byte from the given file-stream, if available, and returns it.
See also
Example execute udsblock returns (valueout varchar(1024)) as begin /* open a binary file */ fs = File.Open('c:\data\sample.dat, __fmOpenReadWrite + __fmShareDenyWrite); try /* read a single byte */ bval = File.ReadByte(fs); finally File.Close(fs); end end |