Graeme Geldenhuys ha scritto:
Again, nothing like this is hinted at in the documentation. I'll double
check on Monday what the Kylix 3 help says regarding BoolToStr and
StrToBool and localization and when it should actually be used.
Kylix 3 help on TrueBoolStrs variable specifies:
<quote>
When using the BoolToString function, true values are converted to the
first string of the list. When using the StrToBool function, any string
in the list is converted to true.
</quote>
The same for FalseBoolStrs variable, of course.
Apparently the mechanism is intended to convert from human
understandable or localized strings to standardized TRUE/FALSE strings.
The opposite of what you needed. No wonder it fails for you.
--
Giuliano Colla
Whenever people agree with me, I always feel I must be wrong (O. Wilde)
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal