Excellent. Thank you, and thanks to Mike as well. I’ll implement that in my code.
> On Dec 18, 2014, at 2:39 PM, Klaus major-k <[email protected]> wrote: > > Hi Chris, > >> Am 18.12.2014 um 21:30 schrieb Chris Sheffield <[email protected]>: >> >> I have a custom plugin stack that I use to quickly open frequently used >> stacks. It has a “save this stack” command in its closeStack handler. If I’m >> working in LC 7.0+ the stack is saving with the new file format, and >> therefore won’t open in pre-7.0 versions of LiveCode. I though once a stack >> was saved in a legacy format, it would stay in that format. Is that not the >> case? Is there any way to prevent the file format change when saving a stack? > > I think "the stackfileversion" global property will help here! > > Do something like this: > ... > ## Save current stackfileversion value: > put the stackfileversion into tOldSFV > > ## See dictionary for other possible values > set the stackfileversion to "5.5" > save this stack > > ## Restore old value: > set the stackfileversion to tOldSFV > ... > >> Thanks, >> Chris > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > [email protected] > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
