[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: error() in 5.1
- From: Reuben Thomas <rrt@...>
- Date: Wed, 29 Mar 2006 17:06:06 +0100 (BST)
On Wed, 29 Mar 2006, PA wrote:
On Mar 29, 2006, at 17:04, Reuben Thomas wrote:
By experimentation, I just found that error() produces no output (just what
I wanted), but the manual doesn't document this case. Is this an oversight,
or is the behaviour non-standard? (I'm using John Belmonte's Debian
I would guess "non-standard", at least in the lua interpreter.
error( "Duh!" )
lua: TestTable.lua:322: Duh!
[C]: in function 'error'
TestTable.lua:322: in main chunk
You misunderstand: I'm talking about error called with no arguments.
error with arguments works as advertised in the manual.
http://rrt.sc3d.org/ | Floc: an egregiously good aperitif