[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: object persistence across do_file calls
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 24 Nov 2004 15:40:55 -0200
> then v persists, but c gets reverted to 0.
That's because you're creating a new table every time the chunk runs.
Try
P = P or { c = 0 }
--lhf