Show: Object Pascal C++
Display Preferences

System.SysUtils.StrDispose

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure StrDispose(Str: PAnsiChar);
procedure StrDispose(Str: PWideChar);

C++

extern DELPHI_PACKAGE void __fastcall StrDispose _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (char * Str)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Warning: Ansi version of StrDispose is deprecated. Please use AnsiStrings unit.

Disposes of a string.

StrDispose is provided for backward compatibility. StrDispose disposes of a string on a heap that was previously allocated with StrAlloc or StrNew.

If Str is nil (Object Pascal) or NULL (C++), StrDispose does nothing.

See Also

Code Examples


Personal tools
Translations