lua-users home
lua-l archive

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


On 31 January 2013 11:23, liam mail <liam.list@googlemail.com> wrote:
> On 31 January 2013 08:58, Geoff Leyland <geoff_leyland@fastmail.fm> wrote:
>> Does the absence of a value count?
>
> I would think that is cheating :)
>
> "1" can be replaced with pretty much anything
> print( pcall(pcall(xpcall,function()end,1)))
>
> --Liam

I was thinking too much it can be simplified to
print( pcall(pcall(function()return false end)))

--Liam