ReadAsciiCharacter()

Syntax

Number.a = ReadAsciiCharacter(#File)
Description
Read an ascii character (1 byte) from a file.

Parameters

#File The file to read from.

Return value

Returns the read ascii character or zero if there was an error.

Remarks

For an example of how to read from a file, see the ReadFile() function - with ReadAsciiCharacter() only a ascii character is read, instead of a complete line (string).

See Also

WriteAsciiCharacter(), ReadUnicodeCharacter(), ReadCharacter(), OpenFile(), ReadFile()

Supported OS

All

<- OpenFile() - File Index - ReadByte() ->