[fpc-pascal] Unicodestrings and Assign(File)
juergen.hestermann at gmx.de
Mon May 21 07:17:29 CEST 2012
Tomas Hajny schrieb:
> On Sun, May 20, 2012 14:40, Jürgen Hestermann wrote:
>> That would be a bug IMO when S is longer than 255 characters.
>> "Move" does no range check.
> No, unit System (which uses these include files) is never compiled with $H+.
Ok. If that can be guaranteed.
But I am always wondering why in such situations the type is not set to
Why use generic String type if all code relies on the fact that it may
from ShortString to some other string type? It's just asking for trouble
makes the code less clear.
More information about the fpc-pascal