[Lazarus] PropEdits.TGetStringProc duplicated Classes. TGetStrProc

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jan 21 12:01:43 CET 2010

On Thu, 21 Jan 2010 10:00:27 +0100
Hans-Peter Diettrich <DrDiettrich1 at aol.com> 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.


More information about the Lazarus mailing list