[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: error() in 5.1
- From: PA <petite.abeille@...>
- Date: Wed, 29 Mar 2006 18:18:11 +0200
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/