How to create invisible a stack?

Tiemo Hollmann TB toolbook at kestner.de
Tue Jun 17 08:07:51 EDT 2008


Hi all,

probably an easy one :-)

I want to create in a loop a lot of stacks as data storage. What I do is:

Create .

Set the visble . to false

Set myCustomProperty to foo

Set the destroystack . to true

Save .

Close .

 

This works so far, but there are two issues:

1. Every stack blinks up  for a second, when created (even with lockscreen
true). But I would like not to see anything of the creation, but I can't set
any properties like the visibility, before the stack is created., so how do
you handle this issue?

2. Though I set the DestroyStack to true, my feeling is that after a loop of
a couple of hundred created stacks the memory is completely filled up.
Everything slows down to a crawl and I have to close RunRev. Is this a bad
memory management of RunRev, or what can I do additionally to release the
memory?

 

Thanks for any hints

Tiemo

 

 

 




More information about the use-livecode mailing list