File.ReadInt32 |
Top Previous Next |
Syntax function File.ReadInt32(F: pointer): integer
Alternative Names
Description Reads four bytes as an integer 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 4 bytes as an integer */ dwval = File.ReadInt32(fs); finally File.Close(fs); end end |