Hi, > #define lua_absindex(L,n) ((n) < 0 ? lua_gettop(L) + (n) + 1 : (n)) better not do it like this, you're bound to say lua_absindex(L, ++x) sooner or later... I suggest to make it a function instead. Bye, Wim