CRegistry:delete


The delete method closes the registry key and deletes the instance of the CRegistry object. The delete and Close methods are equivalent. These two methods close the key opened using the new and Open methods, which also are equivalent. Call delete when you are finished using the instance of CRegistry.

Syntax

CRegistry:delete( sKeyName )

Example

 

R = CRegistry:new( "(Script) MyKey")

-- open the key named "(Script) MyKey".

  ...

-- do something with the registry.

R:delete()

-- close the key and delete the CRegistry object.

Related Topics

CRegistry class, new


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.