On 10/13/2011 01:45 PM, Luiz Americo Pereira Camara wrote:

This means that StringCodePage is only meaningful when calling it on a string variable that actually holds a string.

How can a string variable not hold a string ? It might hold an empty string, but what is a "no-string" ?

Of course if you define a pointer to a string and initiate it with a random address, its TAnsiRec will hold some invalid/inconsistent/meaningless information, but I think this is con only happen as the result of some buggy code.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to