data loss in a standalone... a bug?[correction]

Michael Binder runr at prismpole.com
Tue Jul 17 04:55:17 CDT 2007


Hi to all,
with morning light and rested eyes, I see a mistake in my original 
post....

I wrote:
> In the big complex app that I have been working on, I do have a
> workaround.  I simply repeat this line twice:
> set the customproperties["allDataProps"] of stack whichFile \
>        to the customproperties["allDataProps"] of stack "dataTemplate"

Actually, I repeated these two lines twice:

    set the customproperties["allDataProps"] of stack whichFile \
         to the customproperties["allDataProps"] of stack "dataTemplate"
    save stack whichfile

Therefore, the workaround is to simply execute
    save stack whichfile
twice (which has the effect of saving the stack once).

Note: this is only necessary on the first attempt to save.
After the first successful 'save' (which requires two saves)
the standalone works properly until it quits.

Michael Binder




More information about the use-livecode mailing list