Page 2 of 2

Re: Mac not compiling into Windows

Posted: Fri May 28, 2021 8:24 pm
by FourthWorld
RobertTeeter wrote:
Fri May 28, 2021 8:08 pm
How do I get the IDE for Windows ?
https://downloads.livecode.com/livecode/

Re: Mac not compiling into Windows

Posted: Fri May 28, 2021 8:50 pm
by RobertTeeter
15 - 49 pm Have downloaded Win 64 IDE. Next reponse will be after I explore debugging on the laptop. Probably tomorrow.

Bob

Re: Mac not compiling into Windows

Posted: Sat May 29, 2021 11:45 pm
by RobertTeeter
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.

Re: Mac not compiling into Windows

Posted: Sun May 30, 2021 5:21 pm
by jacque
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:

Code: Select all

Is not		<> or "is not"
Equal to or greater than 	=>
Less than or equal to	<=
I may have forgotten to include some but those are the common ones.