Well, that will have to do then. Thanks for the help!

Now I need to know how registered C functions can return data for use in Lua, and I should be well on my way.

I'd also like to know if it is possible for C to call Lua functions. Perhaps I could create a set of functions which allow a certain Lua function to be called at regular intervals (so would it be possible to define callback functions to create a timer, for example?)