lua-users home
lua-l archive

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

I'm interesting by the way that you resolve it.
I would appreciate that you tell me how. You can contact me in a private
thread If you want.
I have also a do it in a different way. But I have some difficulties to
propagate function and tag to cloned state.

Jean-Claude Morlier
Quetzal Informatique

Ignacio Castaño a écrit :
> Luiz Henrique de Figueiredo wrote:
> > >Is there a way to clone a State.
> >
> > No. Why do you want to do this?
> I went in a situation where that would be useful. I set up a lua state, and
> then loaded a module that used that state and could modify it. After that I
> wanted to return to the previous save state. I just resolved that in a
> different way, but cloning the state would have been useful.
> Ignacio Castaño
> _________________________________________________________
> Do You Yahoo!?
> Get your free address at