lua-users home
lua-l archive

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


On Mon, Nov 18, 2013 at 10:55 PM, Stéphane Aulery <lkppo@free.fr> wrote:
> I do not know if this is doable, but I would find it convenient to name
> the return values of functions to facilitate code maintenance.

Something like this?

    function add(a, b) returning c
        c = a + b
    end

-- Pierre-Yves