lua-users home
lua-l archive

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


On 16 December 2014 at 17:22, Sean Conner <sean@conman.org> wrote:
since even a function that doesn't return anything also
returns an infinite number of nils [1]

[1]     In the same way a turned-off computer produces vast amounts of
        nothing really fast.

To nit-pick for a sec, the different between 'nil' and 'none' in lua is quite subtle.
You can show this with:

    select("#",func())

Where func could be `error`