Difference between revisions of "IO (API)"
From ComputerCraft Wiki
Chriscisco (Talk | contribs) |
|||
Line 2: | Line 2: | ||
List of non-working features from IO: | List of non-working features from IO: | ||
− | + | ||
+ | * file:seek(...) - Doesn't exist. | ||
+ | |||
+ | |||
I hope this is the right place to add this. | I hope this is the right place to add this. | ||
Line 10: | Line 13: | ||
It is the very first file:write in the save function | It is the very first file:write in the save function | ||
file:write("return {"..charE) | file:write("return {"..charE) | ||
+ | |||
+ | [[Category:APIs]] |
Revision as of 21:56, 19 March 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.
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 moifications to make it run as an api It is the very first file:write in the save function file:write("return {"..charE)