lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


hello,

here I am with the same question as a few days
ago.

If I do 'lua_dofile' and the file contains errors
(like syntax errors), lua returns and on my stack
there is one element (a table).

If I do 'lua_rawgeti' and put the 0th element on the
stack, the stack contains 4 new elements of
type 0, -1, -1, -1.

I'm using lua 5.0 or 5.0.2.

Sorry if the question is stupid but I can't get the
error msg on myself

Any hints?


mark