Hi Matt,
that might work... but I don't want it to be an array... I just want it to be a constant of value 65 without looking it up by hand. It works when using a variable, it's documented to be valid, but it doesn't work.
I could use a variable. If a variable is only defined once and only read through the rest or the program, the compiler would replace it to be a constant. Using a variable, hoping the compiler will make a constant from it doesn't seem a good way to write a library.
The plan was to have a constant, which holds the char to use, or zero if the feature should be turned off.
These would look nice:
const FORMAT_THOUSANDS=0
const FORMAT_THOUSANDS=","
One would have to do it like
const FORMAT_THOUSANDS[]={0}
const FORMAT_THOUSANDS[]=","
and then, have a useless index [0] throughout the whole program. It doesn't look that good.
Ok, if all of you think it shouldn't work, I'll put the most usual chars in the comments, and users will have to read the sources to find out how to define things...
Greets,
Kiste
If I use it
Am Freitag, 15. Januar 2021, 21:21:30 MEZ hat Matt Schinkel <
mattsc...@hotmail.com> Folgendes geschrieben:
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/YQXPR01MB414951F289FC979E3E77A325DEA70%40YQXPR01MB4149.CANPRD01.PROD.OUTLOOK.COM.