Posted 29 July 2012 - 10:08 PM
I'm fairly new to LUA, but have a fair bit of PHP/vb.net/java experience so LUA came pretty quickly to me. However I'm not entirely sure how to do one thing - libraries.
Now, I understand CC uses it's "APIs" that work kind of like libraries, but i want a SPECIFIC lua library in CC :ph34r:/>/>
Basically, I want http://viremo.eludi.net/LuaXML/ so that I can easily parse XML files (config files for the OS I'm writing).
Normally, you would get this to work by just putting:
and it would work. However, as I understand it, require() was removed from CC.
So,
a ) where do I put the library (which file should I even use from the download?)
b ) how do I get it to work? I was hoping to just drop one of the library files into the APIs folder and be working but life doesnt seem to be that simple :)/>/>
Thanks
Now, I understand CC uses it's "APIs" that work kind of like libraries, but i want a SPECIFIC lua library in CC :ph34r:/>/>
Basically, I want http://viremo.eludi.net/LuaXML/ so that I can easily parse XML files (config files for the OS I'm writing).
Normally, you would get this to work by just putting:
require("LuaXml")
and it would work. However, as I understand it, require() was removed from CC.
So,
a ) where do I put the library (which file should I even use from the download?)
b ) how do I get it to work? I was hoping to just drop one of the library files into the APIs folder and be working but life doesnt seem to be that simple :)/>/>
Thanks