[fpc-pascal] BoolToStr() with correct locale output
Henry Vermaak
henry.vermaak at gmail.com
Fri Jun 26 17:45:57 CEST 2009
2009/6/26 Vincent Snijders <vsnijders at vodafonevast.nl>:
> Graeme Geldenhuys schreef:
>
>> How come nobody ever noticed this? Does everybody only write English
>> programs. :-)
>>
>
> Because I always thought these function were not for users, but for systems,
> for example to store a boolean in a xml file or to create an adhoc dynamic
> SQL query. You would not want to have those strings translated (unless it an
> MS-Access system of last century).
I think even for config/system files they are useless, since it's a
lot more friendly to support yes/no, true/false and on/off, not just
true/false. I presume these functions are there for Delphi
compatibility?
Henry
More information about the fpc-pascal
mailing list