WriteInteger Method
Object List
Defined By: BinaryFile
Description:
Writes a 2-byte integer to the currently open file.
Declaration:
Function WriteInteger(ByVal arg As Integer) 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 2 for a successful
write. If the "SwapBytes" property is True, the bytes of the integer will be
"swapped" before writing.
See Also:
SwapBytes property