ReadTextSingle Method
Object List
Defined By: BinaryFile
Description:
Reads a Text format single from the currently open file and sets the passed-in
argument to the value of the number read.
Usage:
Function ReadTextSingle(arg As Single) As Long
Details:
A Text format number is represented in the file as human-readable ASCII digits
(e.g. "123.45"). 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. Before the digits of the number are read,
whitespace characters (SPACE, Tab, Newline, and CR) are read and ignored. If the file
is not open for reading, an exception will be generated. The return value will
be 1 for a successful read, and 0 for a failure.