ReadCharacter()

语法

Number.c = ReadCharacter(#File)
概要
Read a character (1 byte in ASCII, 2 bytes in unicode) from a file.

参数

#File The file to read from.

返回值

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

Remarks

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

参阅

WriteCharacter(), ReadAsciiCharacter(), ReadUnicodeCharacter(), OpenFile(), ReadFile()

已支持操作系统

所有

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