ReadAsciiCharacter()

语法

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

参数

#File The file to read from.

返回值

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).

参阅

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

已支持操作系统

所有

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