Mac not compiling into Windows

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 8660
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Mac not compiling into Windows

Post by FourthWorld » Fri May 28, 2021 8:24 pm

RobertTeeter wrote:
Fri May 28, 2021 8:08 pm
How do I get the IDE for Windows ?
https://downloads.livecode.com/livecode/
Richard Gaskin
LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

RobertTeeter
Posts: 10
Joined: Tue May 25, 2021 3:56 pm

Re: Mac not compiling into Windows

Post by RobertTeeter » Fri May 28, 2021 8:50 pm

15 - 49 pm Have downloaded Win 64 IDE. Next reponse will be after I explore debugging on the laptop. Probably tomorrow.

Bob

RobertTeeter
Posts: 10
Joined: Tue May 25, 2021 3:56 pm

Re: Mac not compiling into Windows

Post by RobertTeeter » Sat May 29, 2021 11:45 pm

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.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6036
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Mac not compiling into Windows

Post by jacque » Sun May 30, 2021 5:21 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Windows”