[closed] loadstring or dofile

Can we please have that, it opens up the possibilities for sooooo many cool things that we can do with lua…

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 16288 reply_id: 316288[/import]

hmm… apple prohibits compiling code at runtime… so this could NOT be done on iOS (or rather, could not be done and be approved by apple)… android has no such restrictions (although I doubt it is implimented, if only to keep stuff consistant across platforms).

Having said that… I would love to see it done. (It is incredibly nice to save a Lua table in the format of a Lua table and simply open the file and load string when you want to restore it… amoung other uses) [import]uid: 40100 topic_id: 16288 reply_id: 60670[/import]

+1 :slight_smile: [import]uid: 64174 topic_id: 16288 reply_id: 60674[/import]

why does it have to be compiled while runtime???

Couldn’t it be done, we as Devs just get that feature from Corona
and CORONA … before creating our iOS/Android Code, does create
LUA Files that put that pieces together.

That would help us Devs to program even more effective and Apple
gets one piece of code :slight_smile:

Logic??

chris
[import]uid: 4795 topic_id: 16288 reply_id: 82987[/import]

Apple don’t allow this for security reasons (apples opinion)
[import]uid: 84637 topic_id: 16288 reply_id: 82998[/import]