help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

DisposeStr

Dispose an ansistring from the heap.

Declaration

Source position: sysstrh.inc line 66

procedure DisposeStr(

  S: PString

);

Description

DisposeStr removes the dynamically allocated string S from the heap, and releases the occupied memory.

This function is provided for Delphi compatibility only. AnsiStrings are managed on the heap and should be preferred to the mechanism of dynamically allocated strings.

For an example, see DisposeStr.

Errors

None.

See also

NewStr

  

Allocate a new ansistring on the heap.

AppendStr

  

Append one ansistring to another.

AssignStr

  

Assigns an ansistring to a null-terminated string.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505