[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: get error msg from table?
- From: mark greenlancer <markgreenlancer@...>
- Date: Fri, 23 Jul 2004 09:36:22 +0200
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