lua-users home
lua-l archive

Re: pcall and xpcal

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


> 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.
They can't, as xpcall needs an error handler. Whatever the solution,
they could not have the same arguments.
-- Roberto

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