Reloading a changed stack file

Chipp Walters chipp at chipp.com
Sun Sep 28 16:13:46 EDT 2008


On Sun, Sep 28, 2008 at 7:31 AM, Len Morgan <len-morgan at crcom.net> wrote:

> My problem is how to I get rid of this in-memory copy and replace it with
> the new version (assuming that I had to download a new version)?
>
> Is it as simple as:
>
> if tVersionUpdated then
>   stop using tCurrentStack
> end if


Revert can work. I like to use the 'delete stack' command as well for this
sort of thing. It forces the removal of a stack from memory.

if tVersionUpdated then
   delete stack tCurrentStack
   go stack tCurrentStackFilename
end if



More information about the use-livecode mailing list