[Lazarus] PropEdits.TGetStringProc duplicated Classes. TGetStrProc

waldo kitty wkitty42 at windstream.net
Thu Jan 21 01:40:23 CET 2010

On 1/20/2010 16:55, Mattias Gaertner wrote:
> On Wed, 20 Jan 2010 15:30:55 -0500
> waldo kitty<wkitty42 at windstream.net>  wrote:
>> On 1/20/2010 06:12, Alexander Klenin wrote:
>>>>  From PropEditUtils.pas (recently split by me from PropEditS.pp):
>>> TGetStringProc = procedure(const s:ansistring) of object;
>>>>  From Classes.pp:
>>> TGetStrProc = procedure(const S: string) of object;
>>> I think TGetStringProc is redundant and should be removed.
>>> Should I prepare a patch?
>> i notice that one is "string" and the other is "ansistring"... aren't they
>> different enough to possibly cause problems where one is expected by the use of
>> the old routine and suddenly the new one doesn't support the same?
> No, both are ansistring.

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) ;)

More information about the Lazarus mailing list