Kaya 0.5.2 reference for IO::open

List of functions and data types in IO

File open(String fname, [FileMode] mode)

Arguments

Usage

Open the named file with the specified file modes. Not all combinations of modes are legal, and an InvalidMode Exception will be thrown if an illegal mode is selected. A FileError Exception will be thrown if opening fails for any other reason. Legal mode combinations are:

Binary can be added to any of the combinations above to open the file in binary mode on Windows (it has no effect on POSIX platforms).

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya