lua-users home
lua-l archive

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


On Tue, Mar 16, 2010 at 6:02 PM, Duboucher Thomas <thomas@duboucher.eu> 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).

Ah, now I understand the point, and why Majic was talking about the C API.

But overloading 'return' to mean this is a bad idea, since it has such
a common meaning.

And, is adding to a table so very expensive?

steve d.