ivakyb / minini

Automatically exported from code.google.com/p/minini
Other
0 stars 0 forks source link

Feature request: Support hex/octal numbers #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great if minini could also parse hexadecimal numbers.

For example:

hexvalue = 0xffc1

Original issue reported on code.google.com by blaic...@gmail.com on 27 Jul 2011 at 7:58

GoogleCodeExporter commented 9 years ago
I agree with hexadecimal. I do not agree with octal because people commonly use 
leading zeros on decimal numbers.

I will implement hexadecimal support for ini_getl(), but not for ini_putl(). 
When values are written by an application (for later use), it does not matter 
much what radix they are in. Additionally, the work-around is to simply use 
sprintf() and ini_puts().

Original comment by thiadmer...@gmail.com on 30 Jul 2011 at 9:49

GoogleCodeExporter commented 9 years ago
Reading of hexadecimal values is implemented in the most recent version.

Original comment by thiadmer...@gmail.com on 7 Dec 2011 at 3:43