ReadUnicodeCharacter()

Syntax

Number.u = ReadUnicodeCharacter(#File)
Description
Read a unicode character (2 bytes) from a file.

Parameters

#File The file to read from.

Return value

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 ReadUnicodeCharacter() only a unicode character is read, instead of a complete line (string).

See Also

WriteUnicodeCharacter(), ReadAsciiCharacter(), ReadCharacter(), OpenFile(), ReadFile()

Supported OS

All

<- ReadStringFormat() - File Index - ReadWord() ->