Re: Suggestion: Lua 5.3 -- Named Return Values
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Suggestion: Lua 5.3 -- Named Return Values
- From: Pierre-Yves Gérardy <pygy79@...>
- Date: 2013年11月19日 10:55:07 +0100
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