[Lazarus] PropEdits.TGetStringProc duplicated Classes. TGetStrProc

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Jan 21 10:00:27 CET 2010


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.

DoDi





More information about the Lazarus mailing list