Post Reply 
Strange behavior related to the decimal point / comma ¿Bug?
10-10-2016, 11:57 AM
Post: #1
Strange behavior related to the decimal point / comma ¿Bug?
Hi,

I have noticed a strange behavior related to the decimal point / comma.

For example..... This simple programm:

EXPORT Test()
BEGIN
LOCAL Vx,Vy,Vz ;
FOR N FROM 1 TO 6 DO
Vx:=N;
Vy:=Vx*3;
Vz:=Vx+Vy;
MSGBOX ("Vz= " + Vz );
END;
END;

If you have in Home Settings - Digit Grouping:123,456.789
The program pass ok the Check.
No errors in the program.

But if you have in Home Setting - Digit Grouping:123.456,789
Then the program does not pass the Check.
Syntax Error in line: LOCAL Vx,Vy,Vz ;

The same applies to other lines where the comma is present.

Thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Strange behavior related to the decimal point / comma ¿Bug? - JoseL - 10-10-2016 11:57 AM



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