Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Digit Grouping
18-02-2016, 10:55 PM
Post: #1
Problem with Digit Grouping
If you change the Digit Grouping on page 1 of the Home Settings to "," for the decimal point, there are several issues.
If you type the ","-key in Home-Mode or in the program-editor, you get a ";". In most cases it should not be a problem.
The problem is, that nearly every program now has many errors. For example you have to change every floatingpoint number from 3.14 to 3,14 etc. While writing a new program you get the "," if you type the "."-key.
Variable declarations won't work - I don't exactly what is the problem (the "," between the variables? It might be interpreted as a "." between the variable names.).
So you can't use this feature to show numbers like they are in germany more usual.

I have a Prime with Software Version 2015 6 17 (8151)
Hardwareversion C.
You find this behavior also on the virtual prime.
Find all posts by this user
Quote this message in a reply
25-02-2016, 04:30 PM
Post: #2
RE: Problem with Digit Grouping
Hi froehlic,

In a program, press the hard Menu key and select Insert Pragma. This will insert a pragma command that says, no matter what the settings are , use period as decimal, use comma to separate arguments, and use semi-colon to separate commands. Finally, use 32-bit integers. This should solve most of your problems.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-03-2016, 03:09 AM
Post: #3
RE: Problem with Digit Grouping
Thank you, Klaas!

After some crashes trying to edit one of the programs, the #pragma line seems to work!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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