ReadDouble Method

Object List

Defined By:
BinaryFile

Description:

Reads an 8-byte floating point number from the currently open file and sets the passed-in argument to the value of the number read.

Declaration:

Function ReadDouble(arg As Double) As Long

Details:

If the file is not open for reading, an exception will be generated. The return value will be the number of bytes read, which will be 8 for a successful read. If the "SwapBytes" property is True, the bytes of the number will be "swapped" before returning.

See Also:

SwapBytes property