Op Tue, 29 Jul 2008, schreef Micha Nelissen:
Marco van de Voort wrote:
Dani?l Mantione wrote:
is no proper solution, MBCS requires it to be a string rather than a
char, but compatibility requires it to be a char. Which means you are
Isn't a string backward compatible with a Char?
No. You can't typecast or ORD() it anymore, or subtract other chars from
it.
I'm not sure how many people are trying to do that on the ThousandSeparator
variable, but in theory you are right.
charvar:=ThousandSeparator;
... would fail as fail.
Basically anything fails except where the char is converted to string. I
don't the compat issues are theoretic. There for sure exists code that
assigns thousandseparator to a char or passes it to a var parameter.
Daniël
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel