lua-users home
lua-l archive

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


> 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