Page 1 of 1

Android and "≤" operator

Posted: Tue Jan 10, 2023 4:22 am
by vcirilli
When I run on the Mac the "≤" operator works as expected.
When I run on a Android device or emulator the app just hangs.
Wasted a ton of time troubleshooting to find this.
Might there be some documentation that blacklists what doesn't work on Android?

if sTime ≤ 0 then
-- On Android hangs
-- On Mac works as expected
end if


Thanks
Vincent

Re: Android and "≤" operator

Posted: Tue Jan 10, 2023 9:47 am
by Klaus
Hi Vincent,

try to avoid NON ASCII character like this one.
That will also fail on Windows!

Use two characters like:
>=
<=
<>
etc...


Best

Klaus

Re: Android and "≤" operator

Posted: Tue Jan 10, 2023 10:32 am
by richmond62
Some people hereabouts may not be familiar with the term 'ASCII', so here is a chart of the ASCII
characters:

http://www.asciichars.com/_site_media/a ... dscape.pdf

≤ is NOT mentioned in the LiveCode Dictionary

Re: Android and "≤" operator

Posted: Tue Jan 10, 2023 10:42 am
by Klaus
Additional hint, may not apply to the thread starter: Android also does not like UMLAUTS in filenames!
I had something like -> bär.jpg (german for bear) which made Android choke, had to rename the file(s) to baer.jpg

Re: Android and "≤" operator

Posted: Tue Jan 10, 2023 9:14 pm
by vcirilli
Klaus & richmond62
Thanks for those tips!