[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: xpcall(f arguments?,f error)
- From: Markus Huber <pulse@...>
- Date: Tue, 13 Jul 2004 18:04:27 +0200 (BST)
Hi Thomas,
thank you for your idea to enhance xpcall be myself. I overlooked this
possibility. I prefer to stay compatible with the original behaviour and
enhance it like this: (untested)
local Function=xpcall
function xpcall(Call,Error,...)
return Function(function() return Call(unpack(arg)) end,Error)
end
--
Markus