I
believe this is what Lua 5 has out of the box ? lua_loadfile and
lua_loadbuffer. At least, this is what I have been using for the same
purpose.
Alex
-----Original
Message-----
From: Jim Jones
[mailto:jjones@aantix.com]
Sent: Tuesday, April 29, 2003 2:59
PM
To: Multiple recipients of
list
Subject: Load Compiled
Script?
Is it possible
to just load a compiled script, without executing it? Something
along the lines of lua_dofile.
My end
users want to be able to specify which functions to call, and what
order. I need something along the lines of :
lua_loadfile(char
*)
lua_dostring(call
function1)
lua_dostring(call
function2)
lua_dostring(call
functionN)
Any
insight is certainly appreciated.
Jim