Changing Script In Standalone
Sarah Reichelt
sarah.reichelt at gmail.com
Tue May 2 02:59:34 EDT 2006
Here's an example - I have an app that acts as a clock-timer. It never
needs to save any data except the position of the window, which it
saves to a preference file. However when it is running, it displays
different data every second. On startup, it gets the current time and
shows it and then updates the clock, timer & countdown as required.
When it quits, the data is gone.
Cheers,
Sarah the Nitpicker :-)
On 5/2/06, Dan Shafer <revolutionary.dan at gmail.com> wrote:
> Sarah.....
>
> Right. A slight nit but worth noting. I suppose there are situations where
> changing data on the fly and not saving it is useful. Can't think of one
> off-hand except where I'd use a variable anyway, but....
>
>
> On 5/1/06, Sarah Reichelt <sarah.reichelt at gmail.com> wrote:
> >
> > This is not quite true. Rev does permit modification of data in a
> > standalone, but this new data will not be saved unless it is a
> > separate file to the main program. This can be a sub-stack or any
> > external data storage mechanism.
> >
> > In this case, the script change should happen, provided it fits within
> > the scriptLimits, but the new script will not be saved if the stack
> > being modified is part of the main application file.
> >
> > Cheers,
> > Sarah
> >
More information about the use-livecode
mailing list