WriteLong Method

Object List

Defined By:
BinaryFile

Description:

Writes a 4-byte integer to the currently open file.

Declaration:

Function WriteLong(ByVal arg 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 4 for a successful write. If the "SwapBytes" property is True, the bytes of the integer will be "swapped" before writing.

See Also:

SwapBytes property