ReadDoubles Method

Object List

Defined By:
BinaryFile

Description:

Reads into an array "numItems" 8-byte floating point numbers from the currently open file.

Declaration:

Function ReadDoubles(arg() As Double, ByVal numItems As Long) 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*numItems for a successful read. If the "SwapBytes" property is True, the bytes of each number read will be "swapped" before returning.

See Also:

SwapBytes property