[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [NOOB] "remember" function
- From: "Shane Lee" <shaneplee@...>
- Date: Thu, 23 Aug 2007 15:03:22 -0500
On 8/23/07, Evan DeMond <email@example.com> wrote:
> Hi Shane,
> If that snippet with the call to luaL_dofile is being run every time you
> call the function from C, then that'll be what's causing the problem, as
> David described above. It's rerunning the code in that file and clobbering
> your existing remember table. Without looking at the rest of the code for
> correctness, you probably want to call luaL_dofile on your script just once,
> and then just use the mechanism for calling the function when you want to
> invoke it.
Evan, you da man!
That's got to be the problem exactly, thanks!!!