lua-users home
lua-l archive

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


> 	local function pcall2call( success, ... )
> 		if not success then
> 			error( ( ... ) )
> 		else
> 			return ...
> 		end
> 	end

Isn't this pcall2call the same as assert? Oh, assert is just slightly
different, because on success it does "return success, ....".