FileReadDouble()

Summary

Reads a double-precision (8-byte) floating point number from a binary file.

Syntax

result = FileReadDouble(file f [, array options])

Argument Contents
f A file handle
Option Type Contents
Big Endian Boolean "True" if byte order is big endian, "False" (default) if little endian

Returns

A real number containing the value read from the binary file.

Notes

  • The options array is an optional argument.

Error Codes

Error Type Meaning
Error Cannot read the value from the file

See Also

Function Summary
CloseFile() Closes a file
FileWriteDouble() Writes a double-precision (8-byte) floating point number to a binary file
OpenFile() Opens a text or binary file on disk