On Thu, 21 Jan 2010 10:00:27 +0100 Hans-Peter Diettrich <[email protected]> wrote:
> waldo kitty schrieb: > > > ok... thanks for that... i was unaware that type "string" was an alias > > for "ansistring"... i had thought that "string" was the same as the old > > borland "string" definition (ie: array of chars with the [0] element > > containing the string length) ;) > > In newer Delphi versions (2009+) "string" is "UnicodeString", that's why > using "AnsiString" will reduce possible confusion of people, who use > Delphi and Lazarus concurrently. > > string[n] is "ShortString", even in the new Delphi versions. string is ansistring in lazarus sources since 10 years. I guess, most lazarus users are used to it. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
