I’d like to use the LOOP object-oriented class models for Lua library, from tecgraf-puc rio themselves. However, it contains files in directories, compilation, etc. Is it just futile? [import]uid: 4686 topic_id: 3586 reply_id: 303586[/import]
i saw something that overrode require to allow directories, but i dont know if that works in Corona’s version of Lua.
i’m kind of thinking i should write code using the same structure the corona devs are writing tho
[import]uid: 6645 topic_id: 3586 reply_id: 10838[/import]
http://developer.anscamobile.com/forum/2010/10/28/how-use-require-when-file-subfolder#comment-10840
bear in mind you could cause yourself a lot of headache later if the device doesn’t support it!
[import]uid: 6645 topic_id: 3586 reply_id: 10841[/import]