lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Title: Make at least
Ahh nuts, I'm working with v4 as of now.  Has anyone performed this functionality in v4?

Jim
----- Original Message -----
Sent: Tuesday, April 29, 2003 5:02 PM
Subject: RE: Load Compiled Script?

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