Conversion
Scotte Meredith
spomacguy at gmail.com
Sun May 23 01:36:02 UTC 2021
It sounds like you are running into the change from ';' to '#' for the comment character. You could change it to something like this:
Do iPlatform.$assign(mid(trim(trim(trim($root.$clib.$tasks.Startup_Task.$methods.Mode.$methodlines.3.$text,kTrue,kFalse,';'),kTrue,kFalse,'#'),kTrue,kFalse) ,1,8)) ## Not tested
This would trim off the starting ';', then the '#', then the spaces, leaving you with just the test and then pick chars 1-8 (or whatever).
That way it would work in both Studio 6 and Studio 10.2.
> On May 22, 2021, at 4:44 PM, Chris Hughes <ataddata at bigpond.net.au> wrote:
>
> Just converting to Omnis studio 6 to Omnis studio 10.2 and found the
> following problem.
>
>
>
> Why did Omnis change the text aspect.
>
>
>
> Do
> iPlatform.$assign(mid($root.$clib.$tasks.Startup_Task.$methods.Mode.$methodl
> ines.3.$text,4,10))
>
>
>
> Now instead being able to read text as per above they have changed it for
> what reason I do not know.
>
>
>
> I use to store window preferences like text size in headed list and tree
> list now I have to change it because of Omnis backward step.
>
>
>
> I am about to have one Big Sur user using this application and have to
> figure out a write round, I thought I was gain to have a relaxing Sunday
> that now gone.
>
>
>
> Also because Macintosh fails to run on Studio 8.1 on Big Sur.
>
>
>
> That's my bitch for the day.
>
>
>
>
>
> Chris Hughes
>
>
>
> Copious Data Pty Ltd (Trading as Atad Data)
>
> 3 Springwell Avenue
>
> Springwood QLD 4127
>
> Phone No:- 07 3208 6347
>
> Mobile No:- 0409 263 349
>
> Email:- ataddata at bigpond.net.au
>
> Web Site:- http://ataddata.com.au
>
>
>
>
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
Scotte Meredith
spomacguy at gmail.com
509/998-0991
More information about the omnisdev-en
mailing list