Downloading an update for a running stack
Jeanne A. E. DeVoto
revolution at jaedworks.com
Tue Jun 21 19:38:16 EDT 2005
At 6:10 PM -0400 6/21/2005, Thomas McCarthy wrote:
>A while ago I got a tip to use the 'revert' command to update a
>running stack. Somehow it doesn't seem to work. I'm wondering if the
>"closestack" message is being sent. (My stack has a "Save stack"
>command in its closestack.
Yes, that will be your problem: the closeStack handler is saving the
old (in memory) version of the stack over the newly-downloaded
version. Locking messages before issuing the revert command should
work.
--
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com
More information about the use-livecode
mailing list