marco said:

Not portable. E.g. on BSD it is /usr/share/locale
So between 1 and 2 there should be a step "find locale dir".

This because a solution is required to be Solaris, BSD and Mac OS X
compatible.


true, there is a findlocale.c file under libc that deals with this.
this is a necessary step.

it'd quite nice to have a single function that queries certain
variables from certain categories (e.g. LC_MONETARY, LC_TIME,
LC_NUMERIC).

michael said:
That can be done too, but since all constants are in 1 file, it makes
more sense to process the file at once.

there is a separate file for each category, it seems.

i'll try and investigate further and look for the posix docs.  thanks
for the comments.

henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to