AW: How to create hundreds of stacks with the same name in a loop?
Tiemo Hollmann TB
toolbook at kestner.de
Tue Jun 10 04:35:57 EDT 2008
Thanks Mark, I'll give it a try
Tiemo
> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Mark Smith
> Gesendet: Dienstag, 10. Juni 2008 10:23
> An: How to use Revolution
> Betreff: Re: How to create hundreds of stacks with the same name in a
> loop?
>
> Tiemo, you can <save stack "foo" as "foo1.rev">, so you should be
> able to do what you need to.
>
> Best,
>
> Mark
>
> On 10 Jun 2008, at 08:47, Tiemo Hollmann TB wrote:
> > Hi all,
> >
> > I want to create in a loop hundreds of stack files as storage for
> > datas in a
> > custom property. What I wanted to do is to give the stack file a
> > unique
> > name. But the name of the stack in all files always "foo" for easier
> > handling afterwords. In my loop I just create the stack, set the
> > custom
> > property, set the destroystack to true, save and close. When using
> > a unique
> > name for the stack also (foo1, foo2, foo3,.), everything works
> > fine, each
> > stack is closed one after the other after creation. But when using
> > the same
> > name "foo" for the stack, no stack is being closed, because Rev
> > "thinks" it
> > is being still used, though it is another stack file. The destroy
> > stack
> > doesn't frees the stacks, as long as any handler is running,
> > because all
> > have the same name.
> >
> >
> >
> > Any ideas, how to create a lot of stacks with the same name - but
> > different
> > names for the stack file?
> >
> > Thanks for any ideas
> >
> > Tiemo
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list