[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Load Compiled Script?
- From: "Nick Trout" <nick@...>
- Date: Tue, 29 Apr 2003 15:17:47 -0700
Just prepend "do return end" to the start of your script.
-----Original Message-----
From: Jim Jones [mailto:jjones@aantix.com]
Sent: Tuesday, April 29, 2003 3:16 PM
To: Multiple recipients of list
Subject: Re: Load Compiled Script?
Ahh nuts, I'm working with v4 as of now. Has anyone performed this
functionality in v4?
Jim
----- Original Message -----
From: Bilyk, Alex
To: Multiple recipients of list
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