WriteAsciiCharacter()

Syntax

Result = WriteAsciiCharacter(#File, Number.a)
Description
Write an ascii character (1 byte) to a file.

Parameters

#File The file to write to.
Number The ascii character value to write.

Return value

Returns nonzero if the operation was successful and zero if it failed.

Remarks

The file must be opened using a write-capable function (i.e. not with ReadFile()).

See Also

ReadAsciiCharacter(), WriteUnicodeCharacter(), WriteCharacter(), CreateFile()

Supported OS

All

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