ReadInt
Usage:
ReadInt(Handle)
Description:
The ReadInt reads an integer (4 bytes) from the current file position and returns the value. The file position is then advanced by four bytes.
The Handle parameter is the file handle returned by ReadFile, WriteFile or OpenFile.
Example:
Function Main()
F = ReadFile("Test.dat")
FileData = ReadInt(F)
Output(Actor(), "First integer value: " $+ FileData)
CloseFile(F)
Return()
End Function
Comments (0)
You don't have permission to comment on this page.