WriteDoubles Method

Object List

Defined By:
BinaryFile

Description:

Writes an array of "numItems" 8-byte floating point numbers to the currently open file.

Declaration:

Function WriteDoubles(arg() As Double, ByVal numItems As Long) As Long

Details:

If the file is not open for writing, an exception will be generated. The return value will be the number of bytes written, which will be 8*numItems for a successful write. If the "SwapBytes" property is True, the bytes of each number will be "swapped" before writing.

See Also:

SwapBytes property