chartsEngine bug with version 10 of LC

Curry Kenworthy curry at
Tue Dec 28 22:56:16 EST 2021


 > I’m still a little unclear about exactly what is going on here.

Because you are NOT comparing numbers.
You are comparing (like sorting) text.

That usually means: the FIRST CHAR of each string.
(The ASCII/ANSI/etc values of those chars.)

 > put “” < 9 -- returns “true”

Because "7" < "9".

 > put “” < 9 -- returns “true”

Because "7" < "9". (FIRST CHAR)

I just looked at WordLib's code:
it's already coded correctly!
Ready for LC version 10 or LC 1000.

(Going way back, I was already cautious
about these dotted-version comparisons.)

Best wishes,

Curry Kenworthy

WordLib: Import MS Word and OpenOffice documents in LiveCode!

Christian LiveCode Training and Consulting

More information about the use-livecode mailing list