1IO.put(3kaya) Kaya module reference IO.put(3kaya)
2
3
4
6 IO::put - Write a string to a file.
7
9 Void put( File handle, String val )
10
12 handle A file handle opened for writing or appending
13
14 val The string to write
15
17 Write a string to a file. Unlike IO.putStr (3kaya) this will not write
18 a NULL terminator to the file, and so should be used when dealing with
19 non-binary files.
20
21 put(stdout,str) is equivalent to Builtins::putStr(str)
22
24 Kaya standard library by Edwin Brady, Chris Morris and others
25 (kaya@kayalang.org). For further information see http://kayalang.org/
26
28 The Kaya standard library is free software; you can redistribute it
29 and/or modify it under the terms of the GNU Lesser General Public
30 License (version 2.1 or any later version) as published by the Free
31 Software Foundation.
32
33
34
35Kaya December 2010 IO.put(3kaya)