Post Reply 
Connectivity Kit in Mac OS
02-23-2019, 09:15 AM (This post was last modified: 02-23-2019 09:22 AM by Didier Lachieze.)
Post: #6
RE: Connectivity Kit in Mac OS
(02-22-2019 09:44 PM)Jean-Michel Wrote:  - Program downloaded from machine to KC, at home, on Mac Book
Check: Error: Syntax Error

Cursor located as below:
EXPORT MOUSE_X,MOUSE_Y(cursor here),other variables....;

Same program, no change, just different contexts.

Any idea?

Do you have the same settings for the decimal separator on the different Primes (virtual or physical)?
The error you report is typical of a unit with the comma set as the decimal separator.

The way to avoid this is to insert a #pragma statement at the beginning of the program with the Menu key.
For ex.:
Code:
#pragma mode( separator(.,;) integer(h32) )

See here for more details about #pragma.

Btw, such #pragma statement should part of the default program template when you create a new program, this would avoid a lot of troubles.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Connectivity Kit in Mac OS - Jean-Michel - 02-22-2019, 09:44 PM
RE: Connectivity Kit in Mac OS - KeithB - 02-22-2019, 09:47 PM
RE: Connectivity Kit in Mac OS - smp - 02-23-2019, 01:00 AM
RE: Connectivity Kit in Mac OS - ijabbott - 02-23-2019, 08:50 AM
RE: Connectivity Kit in Mac OS - Didier Lachieze - 02-23-2019 09:15 AM
RE: Connectivity Kit in Mac OS - grsbanks - 02-23-2019, 10:43 AM



User(s) browsing this thread: 1 Guest(s)