[Overview][Procedures and functions][Index] Reference for unit 'LazDbgLog' (#lazutils)

GetStringRefCount

Returns the reference count for the specified String.

Declaration

Source position: lazdbglog.pas line 20

function GetStringRefCount(

  const s: string

):PtrInt;

Arguments

s

  

Constant string parameter examined in the routine.

Function result

PtrInt value with the reference count for S, or -1 if S is an empty string ('').


Version 4.0 Generated 2025-05-03 Home