IO (API)

From ComputerCraft Wiki
Revision as of 14:31, 19 August 2012 by 65.28.57.130 (Talk)

Jump to: navigation, search

IO is a reimplementation of the default Lua input / output API defined here, with some features trimmed. Most features should work. If you find a non-working feature, please list it here.

List of non-working features from IO:

  • file:seek(...) - Doesn't exist.
  • io.lines(...) - Doesn't exist either. (NOTE: file:lines() does work, and can be used as a stand-in)
  • io.read("*all") - read() does not work with "*all" argument.
  • io.open("FILE_NAME", "a+") - Append+ mode is unsupported.