ReadByte()

语法

Number.b = ReadByte(#File)
概要
Read a byte (1 byte) from a file.

参数

#File The file to read from.

返回值

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

Remarks

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

参阅

WriteByte(), OpenFile(), ReadFile()

已支持操作系统

所有

<- ReadAsciiCharacter() - File Index - ReadCharacter() ->