[fpc-pascal] Is there a StringRefCount() equivalence?

Bihar Anwar bihar_anwar at rocketmail.com
Fri Apr 30 11:18:19 CEST 2010

Because there are few certain condition when we need to observe what happened to ansistring/unicodestring variable. In my case now, I need it to learn how reference counting works. For example, using Move() on ref-counted string type is considered danger unless we do it properly, and I need to verify that everythings is correct after such operation.

I need StringRefCount() equivalence only for convenience, instead of writing a special codes/function in my program to achieve this. Well, if Delphi care about this need, why FPC not? :-)

----- Original Message ----
From: dmitry boyarintsev <skalogryz.lists at gmail.com>
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Sent: Fri, April 30, 2010 3:22:22 PM
Subject: Re: [fpc-pascal] Is there a StringRefCount() equivalence?
On Fri, Apr 30, 2010 at 7:42 AM, Bihar Anwar <bihar_anwar at rocketmail.com> wrote:
> I hope FPC developers will include StringRefCount() to the RTL.

Why would you need that?

fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org


More information about the fpc-pascal mailing list