Updated APIs (markdown)

René Mellema 2014-04-24 08:25:56 -07:00
parent c123483e38
commit 3efc9d9f1c

@ -3,7 +3,7 @@ Standard Libraries
First and foremost you should get familiar with the [Lua reference manual][lua-manual], if you are new to Lua. You will find most basic Lua functionality explained there, as well as a bunch of standard library functions.
OpenComputers makes an effort to largely emulate the standard library in areas that would usually interact with the host system - that being the I/O library. There are a few differences, which you can look up here: [[differences in the standard libraries|NonstandardLuaLibs]]. Most notably, the debug and package libraries are not available, and `load` only accepts text source files, no binary / pre-compiled Lua programs (for security reasons).
OpenComputers makes an effort to largely emulate the standard library in areas that would usually interact with the host system - that being the I/O library. There are a few differences, which you can look up here: [[differences in the standard libraries|NonstandardLuaLibs]]. Most notably, the debug library is mostly unavailable, and `load` only accepts text source files, no binary / pre-compiled Lua programs (for security reasons).
Note that you now need to require all APIs(including the ones below) before you use them.
For example, instead of simple going `local rs = component.redstone`, you now need to require the component API, like so: