chipp at chipp.com
Wed Nov 30 08:37:03 CST 2005
AbilityForms at aol.com wrote:
> What are the advantages of using a substack rather than just starting another
> mainstack? I use several mainstacks because if one becomes corrupted I can
> replace it easier from a backup.
Unlike HyperCard, the Rev engine loads full stacks into memory. Because
of this, corruption is extremely rare. In fact, in all my years of
programming RR, I've yet to encounter a single corrupted stack.
Including substacks can be a great way to archive your project as well.
When you save a substack, it saves not only the mainstack, but also all
the other substacks as well.
I like to keep project specific dialogs as substacks of a mainstack.
But, like you, general library stuff typically goes in it's own mainstack.
Also, if you're worried about backups, you might try my altArchive
plugin, it's used by many in this list. It saves your stack and creates
a serialized backup each time it's button is pressed.
Along with other plugins, it's free and can be found at:
More information about the use-livecode