Hi List.

After fiddling around with some local text i came across something odd. Is it true that the "val" function does not care for person i18n settings?

Trying to validate "1,2" (notice the comma - danish decimal separtor style) with val resulted in returning code = 2, i.e. that comma is the problem. Stepping through the code, it seem that in "fpc_Val_Real_ShortStr" the decimal separator is hardcoded to ".".
Is this a bug or is this just the way "val" is intended to work?

Kind regards,
Torsten Bonde Christiansen.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to