Scroll to navigation

IO.putChar(3kaya) Kaya module reference IO.putChar(3kaya)

NAME

IO::putChar - Write a character to a file.

SYNOPSIS

Void putChar( File handle, Char c )

ARGUMENTS

handle A writable file handle
c The byte to write

DESCRIPTION

Write a binary character to a file. Char(200) will write a byte with a value of 200, not the multibyte representation of Char(200) in UTF-8. Writing a character with a value greater than 256 is undefined.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

IO.getChar (3kaya)
IO.put (3kaya)
IO.putInt (3kaya)
IO.putStr (3kaya)
August 2014 Kaya