lua-users home
lua-l archive

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


Yes, there's collect='collect' to not confuse myself with the question
of when the string 'collect' gets collected... probably a stupid thing
:)

On Fri, Sep 24, 2010 at 12:32, Rob Kendrick <rjek@rjek.com> wrote:
> On Fri, Sep 24, 2010 at 12:28:39PM +0300, Cosmin Apreutesei wrote:
>> apologies, replace collectgarbage() with collectgarbage(collect); the
>> output is the same.
>
> It would be, unless you have a variable called "collect" that contains
> the string value "collect" :)
>
> You probably want to try collectgarbage("collect")
>
> B.
>
>