Have Mac 9.6.10 on M1 Mac Mini.. Compiles "≠" with no errors for mac and windows. However, App uns on Mac. Exe does not run on Windows 10 HP laptop.
Have Windows 9.6.2 on HP laptop.. Compile error for "≠". However, will compile "is not". Script:
on mouseDown pButtonNumber
if pButtonNumber = 3 or pButtonNumber = 1 then
if the short name of this card ≠ "Collections" then go card "Collections"
end if
end mouseDown
30 minutes later. Compiled "is not" on Mac 9.6.10. Ran executable on Windows 10 HP laptop. Runs fine. Also runs fine on Mac.
Is this a bug?
Compile problem "≠"
Moderator: Klaus
Re: Compile problem "≠"
Hi Robert,
no bug, but one of the light differences between Mac and Windows.
"≠" is definitivley a Mac-only character.
Best
Klaus
no bug, but one of the light differences between Mac and Windows.
"≠" is definitivley a Mac-only character.
Best
Klaus
Re: Compile problem "≠"
Apparently this difference in platforms is resolved as of LC 10.0.0-dp-6. From the release notes:
Bug 17143
The single character operators ≠, ≤ and ≥ now work in scripts on all 10.0.0- platforms
Kind regards
Bernd
Bug 17143
The single character operators ≠, ≤ and ≥ now work in scripts on all 10.0.0- platforms
Kind regards
Bernd
Re: Compile problem "≠"
AHA! 
Good to know, thanks, Bernd!

Good to know, thanks, Bernd!
Re: Compile problem "≠"
To be safe I don't use ≠ any more.
<> is more widely used among various programming languages as well as liveCode and is definitely safe across platforms (same for >= and <=).
Mind you I do prefer ≠, ≥ and ≤ but these chars are only really readily available/easily accessible on Mac...
<> is more widely used among various programming languages as well as liveCode and is definitely safe across platforms (same for >= and <=).
Mind you I do prefer ≠, ≥ and ≤ but these chars are only really readily available/easily accessible on Mac...
-
- Livecode Opensource Backer
- Posts: 10076
- Joined: Fri Feb 19, 2010 10:17 am