test.lua:7: attempt to index global 'x' (a
userdata value)
My question is, why does line 4 work correctly,
while line 7 complains about the global being userdata?
What is the difference between the = assignment on line
3 and the lua_setglobal in my Objective C code?
Thanks in advance for any suggestions.
-James