WriteChar Method

Object List

Defined By:
BinaryFile

Description:

Writes a single byte to the currently open file.

Declaration:

Function WriteChar(ByVal arg As Integer) As Long

Details:

If the file is not open for writing, an exception will be generated. The return value is the number of bytes written, which is 1 for a successful write and 0 for a failure.