lua-users home
lua-l archive

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



On Mar 29, 2006, at 18:06, Reuben Thomas wrote:

You misunderstand: I'm talking about error called with no arguments. error with arguments works as advertised in the manual.

I see. Simply invoking error() without argument doesn't produce any output here as well, but it does raise an exception:

function test()
        error()
end

print( pcall( test ) )

> false   nil

Hmmm...

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/