Purge Stack and Window on close?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Purge Stack and Window on close?

Post by Garrett » Wed Apr 19, 2006 5:30 am

Rev 2.6.1

Greetings,

Do I need to be setting the "purge stack on close" and "purge window
on close" properties?

Thanks,
-Garrett

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Post by BvG » Wed Apr 19, 2006 2:32 pm

you seem to know the answer already, maybe you need to clarify your question?
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Post by Garrett » Wed Apr 19, 2006 6:17 pm

I honestly don't know. I assumed "close this stack" was enough, but then
I see the options for the properties in question on the ide and wonder if
they are manditory for when the user is completely finished with a rev
made program.

-Garrett

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Wed Apr 19, 2006 6:26 pm

Hi Garett,

There's no real reason to set those properties, except to save RAM - when you close a stack and the purge stack property is true, reopening the stack will be the same as a 'revert' (unless you saved the stack first).

If those properties are false, the stack is retained in memory, and any (user) change to them is still around. So it depends on your purpose.

Hope this helped,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Post by Garrett » Wed Apr 19, 2006 6:32 pm

I see. It's for use with multiple stacks in one program and not required
when the user quits the entire program.

Thank you :-)
-Garrett

Post Reply

Return to “Talking LiveCode”