ReadFloat
Usage:
ReadFloat(Handle)
Description:
The ReadFloat reads a float (four byte real number) 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 = ReadFloat(F)
Output(Actor(), "First float value: " $+ FileData)
CloseFile(F)
Return()
End Function
Comments (0)
You don't have permission to comment on this page.