|
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 not defined. Once you call the compiled chunk, it works because then the global draw is defined.
Ahhhhhhhhhhhhhhh. I get it now. thanks,wes