[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: I wish function execution continued past `return'
- From: Rob Kendrick <rjek@...>
- Date: Tue, 16 Mar 2010 16:07:51 +0000
On Tue, 16 Mar 2010 17:02:26 +0100
Duboucher Thomas <firstname.lastname@example.org> wrote:
> No, but in a stack-based programming style, it can be useful
> to push step by steps the return values on the stack instead of
> all-at-once at the end of the execution (eg with a return statement).
And this can be easily emulated by accumulating return values in a
table, and then using return table.unpack(foo) at the end of your