Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Q: Regional settings snippet (Windows) ?

60 views
Skip to first unread message

gautier...@hotmail.com

unread,
Jan 24, 2014, 5:07:26 PM1/24/14
to
Hello!
Does someone has a sample of code using parts of the regional setting in MS Windows ? I am interested in the thousands separator, for instance.
TIA
_________________________
Gautier's Ada programming
http://sf.net/users/gdemont

exitcode0

unread,
Jan 24, 2014, 8:51:17 PM1/24/14
to
I don't know if this solves your particular problem, but you can get the country and language with the Ada.Locales package

http://webcache.googleusercontent.com/search?q=cache:-rAibkOPx3QJ:www.ada-auth.org/standards/12aarm/html/AA-A-19.html+&cd=1&hl=en&ct=clnk&gl=us

gautier...@hotmail.com

unread,
Jan 28, 2014, 3:16:23 PM1/28/14
to
Thanks for the answers - See new GWindows.Locale package here for the code:

http://sf.net/p/gnavi/code/213/

_________________________
Gautier's Ada programming
http://gautiersblog.blogspot.com/search/label/Ada
NB: follow the above link for a valid e-mail address
0 new messages