[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_pcall error
- From: "Wesley Smith" <wesley.hoke@...>
- Date: Wed, 27 Sep 2006 00:26:50 -0700
All this does is compile the text into a chunk (i.e. function).
Until you call the function, nothing happens. In particular,
the function statement is not executed, so the global draw is
Once you call the compiled chunk, it works because then the
global draw is defined.
Ahhhhhhhhhhhhhhh. I get it now. thanks,wes