Share via


TextIo.writeChar Method

Writes a Unicode character to a file.

Syntax

public boolean writeChar(int _int)

Run On

Called

Parameters

  • _int
    Type: int
    The value to write to the file. The value is converted to the corresponding Unicode character.

Return Value

Type: boolean
true if the write operation succeeds; otherwise, false.

Remarks

If the write operation fails, the TextIO.status method can be used to check for the cause. To write multiple values or to write data of different types to a file, use the TextIO.write method.

See Also

TextIo Class

TextIo.write Method