Hello Fred, > Because AFAIK, the length of a string is only 256 ...
So if not correct typecasted to a string it is truncated to 256 chars ? But can you explain me wy this is ? I should expect a compiler warning in that case. And it is only when concateneting an extra character. for example: Test(P); // display 511 witch is also corredt --- Rgds, Wilfried http://www.mestdagh.biz __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk