PROBLEM:
Since version 8 or 9 I again and again experience problems with the decimal point when I edit LS code in the Designer. Even for old code suddenly the Designer starts to raise mistakes if one opens the design element . . .
As I am working on a german Windows and using an english client and designer this seems to cause the designer a problem to decide what to use as a decimal separator; a point or, the german version, a comma.
Dim x As Double
x=1.2
x=1,2
But both are not accepted as the comma is also used as a syntactical separator and that raises an error. Only writing rational numbers helps if the Designer is currently in this mood.
It can happen that a few minutes later it suddenly works again and the point is accepted agqin. But it can also can happen that one has to restart the entire client and if even does not help a new start of the OS can solve it - unitl the next time.
SOLUTION :
Please simply use only the DOT as a decimal separator, or is there any HCL supported language/culture in the world, that would like to use something else for writing real numbers in LS code ? Hardcode the point !
Totally agree. While regional conventions for formatting numbers and date-times are meaningful to end users, they tend to cause headaches to programmers.