Re: Determine the LC version of an existing stack

2014-12-16 Thread Richard Gaskin
Mike Bonner wrote: 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 I can't get that to work. Since the stackFileVersion if a global property I wouldn't

Re: Determine the LC version of an existing stack

2014-12-16 Thread Mike Bonner
DOH Yep, my misunderstanding. Though with the preserve stack file version option in the preferences, it must be stored somewhere for that stack. Klaus has the easiest method I guess, but i'm curious now to know where the engine tracks which format each stack uses. IF I can dig up how the engine

Re: Determine the LC version of an existing stack

2014-12-16 Thread J. Landman Gay
On 12/16/2014, 12:18 PM, Mike Bonner wrote: IF I can dig up how the engine tracks the version for stacks, i'll letcha know. I'm pretty sure it must be reading the first few bytes of the file, like Klaus said. As far as I know, that's the only place the info is stored. -- Jacqueline Landman

Re: Determine the LC version of an existing stack

2014-12-16 Thread Peter M. Brigham
On Dec 16, 2014, at 2:25 PM, J. Landman Gay wrote: On 12/16/2014, 12:18 PM, Mike Bonner wrote: IF I can dig up how the engine tracks the version for stacks, i'll letcha know. I'm pretty sure it must be reading the first few bytes of the file, like Klaus said. As far as I know, that's the

Re: Determine the LC version of an existing stack

2014-12-16 Thread Mike Bonner
Got it. In 7.0, first do this.. put the cRevGeneral[stackfileversion] of stack stackname If its empty, it means it was created in an earlier version of LC, and hasn't been saved using save as legacy whatever at any point. SO if that one is empty then get revstackfileversion(the filename of

Re: Determine the LC version of an existing stack

2014-12-16 Thread Mike Bonner
For those who use multiple version, the manual way is best. On Tue, Dec 16, 2014 at 12:42 PM, Peter M. Brigham pmb...@gmail.com wrote: On Dec 16, 2014, at 2:25 PM, J. Landman Gay wrote: On 12/16/2014, 12:18 PM, Mike Bonner wrote: IF I can dig up how the engine tracks the version for

Re: Determine the LC version of an existing stack

2014-12-16 Thread Mike Bonner
just created a stack in lc, 4.6.3 and saved it, the crevgeneral[stackfileversion] of stack testing reports 2.7. On Tue, Dec 16, 2014 at 12:44 PM, Mike Bonner bonnm...@gmail.com wrote: For those who use multiple version, the manual way is best. On Tue, Dec 16, 2014 at 12:42 PM, Peter M.

Re: Determine the LC version of an existing stack

2014-12-16 Thread J. Landman Gay
On 12/16/2014, 2:24 PM, Mike Bonner wrote: just created a stack in lc, 4.6.3 and saved it, the crevgeneral[stackfileversion] of stack testing reports 2.7. There are only three stackfileversions (well, four, but the very earliest stacks didn't have the property.) They are: 2.7 5.5 7.0 These

Determine the LC version of an existing stack

2014-12-14 Thread David Epstein
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. Many

Re: Determine the LC version of an existing stack

2014-12-14 Thread Klaus major-k
Hi David, Am 14.12.2014 um 17:02 schrieb David Epstein dfepst...@comcast.net: 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

Re: Determine the LC version of an existing stack

2014-12-14 Thread Mike Bonner
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 kl...@major-k.de wrote: Hi David, Am 14.12.2014 um 17:02