Result.c = ReadCharacter(#File [, Format])Description
Read a character from a file.
#File The file to read from. Format (optional) The format of the character to read. It can be one of the following value:#PB_Ascii : 1 byte character (default in ASCII mode). #PB_Unicode: 2 bytes character (default in unicode mode). #PB_UTF8 : multi-bytes character (from 1 to 4 bytes).
Returns the read character or zero if there was an error.
For an example of how to read from a file, see the ReadFile() function - with ReadCharacter() only a character is read, instead of a complete line (string).
WriteCharacter(), ReadAsciiCharacter(), ReadUnicodeCharacter(), OpenFile(), ReadFile()