lua-users home
lua-l archive

Re: pcall and xpcal

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


(Replying to myself)
The more I look at this, the more I think it is a bug. Is there place in 
addition to this mailing list where I can report this ?
pcall and xpcall serve the same purpose (calling a function with some 
special error handling) and one would expect that they have the same 
arguments.
	cheers,
	Philippe
On Thursday 05 August 2004 19:44, Philippe Fremy wrote:
> 	Hi,
>
> I notice that xpcall is a new function of lua 5.0
>
> The function does exactly what I need (mostly simulating exception
> handling) except that unlike pcall, it does not accept any extra
> argument. Is there any reason for that ?
>
> 	cheers,
>
> 	Philippe
-- 
An open source OS for contactless Smart Cards
http://www.jayacard.org - Jayacard 

AltStyle によって変換されたページ (->オリジナル) /