Sign in Join
FPDoc Onlineexperiment

UniqueString procedure

In unit System

Make sure reference count of string is 1.

Declaration

pascal
procedure UniqueString(var S: RawByteString)

Description

UniqueString ensures that the ansistring S has reference count 1. It makes a copy of S if this is necessary, and returns the copy in S

Errors

None.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.