Hey Y'All,
While doing my
fp-ncurses-tui I need to use
setlocale with the
LC_* constants.
In a piece of code that I had laying around from previous
ncurses experimentation, I used the
initc unit, for some reason I can't quite remember now, but I still needed to add this to my code, in order to use
setlocale:
function setlocale(cat : integer; p : pchar):pchar; cdecl; external clib;
const
LC_ALL = 6;
I've also been suggested to use the
clocale unit to mitigate this issue, but it didn't work. Granted, I did not have a look at what that unit contains and I may be barking up the wrong tree here.
So, my question is: What do I need to include in my uses section so I can manage the locale without having to declare my own stuff. Cuz, if my code gets stale, and it will, I would rather prefer to rely on code from the core team, than from hacks of my own!!
Cheers,
Gus