Difference between revisions of "IO (API)"

From ComputerCraft Wiki
Jump to: navigation, search
Line 4: Line 4:
  
 
* file:seek(...) - Doesn't exist.
 
* file:seek(...) - Doesn't exist.
 
 
 
I hope this is the right place to add this.
 
io.write using "wb"
 
Line 97 it expects a number and gets a string
 
For reference I am using this http://lua-users.org/wiki/SaveTableToFile with only modifications to make it run as an api.
 
It is the very first file:write in the save function
 
* file:write("return {"..charE)
 
  
 
[[Category:APIs]]
 
[[Category:APIs]]

Revision as of 14:46, 24 June 2012

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.