[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: problem undrstanding cotainers
- From: "Ralf S. Engelschall" <nospam@thanx>
- Date: Tue, 30 Mar 1999 12:34:12 +0200
On Tue, Mar 30, 1999, Denis Barbier wrote:
> > I have defined multiple containers in my code which have the same set
> > of attributes. My requirements are such that I have to include one
> > container in another and pass the attributes of the top-level container
> > to the nested container. The problem is that the values of the
> > attributes seem to be lost when they get to the second container.
>
> You're right, it's because a variable is cleared when it is preserved.
> Don't know why (Ralf, any idea?)
No, I've forgot the reason. I just know that the whole preserve/restore stuff
and Meta-HTMLs global scope for variables is the most horrible thing in
Meta-HTML and that I needed a lot of iterations to make the preserve/restore
stuff working correctly. So when you want to change something there, at least
be _VERY_ carefully. I'm sure it will cause nasty side-effects...
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com