10.2 lib to 10.1
Mike Matthews - Omnis
omnis at lineal.co.uk
Sat Apr 9 19:20:12 UTC 2022
Hello Andy,
A few things you can do:
1 Remove all code folding
Do $libs.$makelist($ref.$name,low($ref.$pathname)) Returns lvLibsList
For lvLibsList.$line from 1 to lvLibsList.$linecount step 1
Do $libs.[lvLibsList.C1].$classes.$sendall($ref.$removecodefolding()) ## Remove Code folding from each library.
End For
2 Change first bit of library down by 1
Do $libs.$makelist($ref.$name,low($ref.$pathname)) Returns lvLibsList
Calculate lvByte as '7' ## Converts Library Back from 10.2 so that it can be used with Studio 10.1
For lvLibsList.$line from 1 to lvLibsList.$linecount step 1
Calculate lvPath as lvLibsList.C2
WriteBinFile (lvPath,lvByte,0,1) Returns lvError ## This changes the first byte of the file so it can open in v10.1
If lvError<>1
OK message Alert (Sound bell) {Could not update file: [lvLibsList.C1] Operation Aborted!}
End If
End For
Mike Matthews
Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>
www.lineal.co.uk<http://www.lineal.co.uk/>
www.sqlworks.co.uk<http://www.sqlworks.co/>
On 9 Apr 2022, at 17:23, TBS <andyh at totallybrilliant.com<mailto:andyh at totallybrilliant.com>> wrote:
Can anyone remind me of the process to downgrade a 10.2 lib to 10.1 ? Just spent a heap of time working on a 10.2 lib for a client still on 10.1 :)
Andy Hilton
Totally Brilliant Software Inc
Phone (US) : (863) 409 4870
Phone (UK) : 0207 193 8582
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list