10-10-2016, 11:57 AM
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
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