Read a text file.
String readFile( String fname )
fname A file name
Reads the entire contents of fname into a String. This function assumes that the file is a text file, rather than a binary file.
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
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.
Binary.readBlock (3kaya)
IO.writeFile (3kaya)