[fpc-devel] Resource string in TStringList
Michael Van Canneyt
michael at freepascal.org
Sun Jan 9 00:37:36 CET 2005
On Sat, 8 Jan 2005, pascalive wrote:
>
> Some time ago there was a discussion about the use of Resource string in TList that resulted in a modification in TList.Get function (Created TList.RaiseIndexError function). I think that the same could be done in TStringList (i noticed that TStringList.Get function still uses resource string directly, at least in fpc 1.9.6 source package).
>
> How about doing the same for TStringList.Add at
> line 917 of stringl.inc [DupError : Error(SDuplicateString,0)] ??
Since Peter disabled the use of an implicity try/finally for resource strings,
I don't think it really matters now.
Michael.
More information about the fpc-devel
mailing list