[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Moving an element on the stack
- From: Ignacio Burgueño <ignaciob@...>
- Date: Wed, 3 Mar 2010 12:12:34 -0200
On Wed, Mar 3, 2010 at 11:23 AM, Peter Cawley <lua@corsix.org> wrote:
This will yield a stack containing {aFunction, aTable, nil1, ...,
nilN} as settop(2) effectively throws away everything after the first
two elements (technically, settop(2) just marks everything after 2 as
garbage-collectable, and settop(top) puts in the nils - "If the new
top is larger than the old one, then the new elements are filled with
nil").
Ok, good to know that. Thanks!