JCL Help:StrDecRef@AnsiString

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Decrements the reference count of a long string.


Pascal

 procedure StrDecRef(var S: string);
procedure StrDecRef(var S: AnsiString);


Parameters

Parameters Description
var S: string The long string whose reference count to increment. Upon return the string may have been freed.


Description

The StrDecRef routine decrements the reference count of the specified long string. Note that if decrementing the reference count will set it to 0 the string is released and the string pointer is set to nil. Therefore the string may be inaccessible after calling this routine.


See Also

StrDecRef


About

Unit

JclAnsiStrings


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page