lua-users home
lua-l archive

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


On 8/23/07, Evan DeMond <evan.demond@gmail.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
>

Evan, you da man!
That's got to be the problem exactly, thanks!!!

-Shane