Android and "≤" operator

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
vcirilli
Posts: 12
Joined: Sat Sep 03, 2022 7:58 pm

Android and "≤" operator

Post by vcirilli » Tue Jan 10, 2023 4:22 am

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

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Android and "≤" operator

Post by Klaus » Tue Jan 10, 2023 9:47 am

Hi Vincent,

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

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


Best

Klaus

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: Android and "≤" operator

Post by richmond62 » Tue Jan 10, 2023 10:32 am

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

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Android and "≤" operator

Post by Klaus » Tue Jan 10, 2023 10:42 am

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

vcirilli
Posts: 12
Joined: Sat Sep 03, 2022 7:58 pm

Re: Android and "≤" operator

Post by vcirilli » Tue Jan 10, 2023 9:14 pm

Klaus & richmond62
Thanks for those tips!

Post Reply