https://downloads.livecode.com/livecode/
Mac not compiling into Windows
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Mac not compiling into Windows
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 11
- Joined: Tue May 25, 2021 3:56 pm
Re: Mac not compiling into Windows
15 - 49 pm Have downloaded Win 64 IDE. Next reponse will be after I explore debugging on the laptop. Probably tomorrow.
Bob
Bob
-
- Posts: 11
- Joined: Tue May 25, 2021 3:56 pm
Re: Mac not compiling into Windows
Solution found -- I strongly dislike Windows
snippet with problem glyph
1 repeat with i = 1 to number of lines of tAll
2 set cursor to busy
3 if gLetterSelected ≠ char 1 of item 2 of line i of tAll then next repeat
4 else exit repeat
5 end repeat
when line 3 is changed to;
if gLetterSelected is not char 1 of item 3 of line i of tAll then next repeat
everthing now compiles as expected. In other words the glyph ≠ does not compile in Windows either in the Mac IDE or compiler or the Windows IDE ( have not compiled in Windows because I prefer to debug in Mac). Again Windows exe compiled in the Mac compiler works perfectly on the Windows laptop.
Because the Mac compiler did not tell me of the failure, other Windows things were broken including the message path for fReadFile and menuPick -- that had me so worried (See posts above).
I may have found a bug !
Bob -- now a happy camper in Florida. Thank you to Jacque, Klaus and Richard for your help.
snippet with problem glyph
1 repeat with i = 1 to number of lines of tAll
2 set cursor to busy
3 if gLetterSelected ≠ char 1 of item 2 of line i of tAll then next repeat
4 else exit repeat
5 end repeat
when line 3 is changed to;
if gLetterSelected is not char 1 of item 3 of line i of tAll then next repeat
everthing now compiles as expected. In other words the glyph ≠ does not compile in Windows either in the Mac IDE or compiler or the Windows IDE ( have not compiled in Windows because I prefer to debug in Mac). Again Windows exe compiled in the Mac compiler works perfectly on the Windows laptop.
Because the Mac compiler did not tell me of the failure, other Windows things were broken including the message path for fReadFile and menuPick -- that had me so worried (See posts above).
I may have found a bug !
Bob -- now a happy camper in Florida. Thank you to Jacque, Klaus and Richard for your help.
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Mac not compiling into Windows
Not a bug, there are a few symbols that are Mac-only and will fail on other OSs. These are the replacements that work everywhere:
I may have forgotten to include some but those are the common ones.
Code: Select all
Is not <> or "is not"
Equal to or greater than =>
Less than or equal to <=
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com