lua-users home
lua-l archive

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


If my embedded interpreter encounters an error in the script, during the
dofile() routine, it just punts.  dofile return a value of 1, so I know
an error was encountered, but I have no idea what the error was.  There
is no error message printed, etc.

Is there any sort of way to determine what is wrong with my script, and
print a message to the user?

I don't think lua_pcall() is what I want, as it calls a function.  I am
still loading the script.

Thanks,

~S