The stack. You're not goint to be able to use the C api until you understand the stack: http://www.lua.org/manual/5.1/manual.html#3.1 Or read Programming in Lua, http://www.lua.org/docs.html online version for 5.0 should get you started. Sam