WriteTextInteger Method

Object List

Defined By:
BinaryFile

Description:

Writes an integer to the currently open file as a text formatted interger.

Declaration:

Function WriteTextInteger(ByVal arg As Integer) As Long

Details:

A Text format number is represented in the file as human-readable ASCII digits (e.g. "123"). Therefore, the number of bytes occupied by a number of this format is determined by the number of digits in the number and not the internal representation of the number. If the file is not open for writing, an exception will be generated. The return value will be 1 for a successful write, and 0 for a failure.