lua-users home
lua-l archive

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


> >calling error() in the linehook is not aborting anything.
> 
> The manual says so:
> 
>   A hook cannot call lua_error.

Lua 4.0 (final) does not have this restriction. So you will "be able to 
abort a running script by some conditional code in a linehook function." 

-- Roberto