You can also do a sneaky if you want to see the stackfileversion of one stack from another.
you can: send "put the stackfileversion into <wherever you want it to go>" to stack "stackname" On Sun, Dec 14, 2014 at 9:17 AM, Klaus major-k <[email protected]> wrote: > > Hi David, > > > Am 14.12.2014 um 17:02 schrieb David Epstein <[email protected]>: > > > > Is there a way to determine by script which version of LC’s file format > an existing stack uses? > > I see that I can set the file format version when saving a stack by > setting the stackFileVersion, > > but I’d like to write a script that saves a stack and leaves unchanged > its prior version. > > you can read and check the first 8 chars/bytes of the stack file! > These will be: > REVO7000 > for stacks saved with >=LC 7.x and: > REVO2700 > for stacks < 7.x > > > Many thanks. > > > > David Epstein > > 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
