new_registry


The new_registry function is a non-class version of the CRegistry:new method which creates and returns a new CRegistry object.

Syntax

R = new_registry()

bullet.gif    R is returned as the new CRegistry object.

bullet.gif    On failure, nil is returned.

Example

The following script creates a new Cregistry object:

R = new_registry()

-- create a new instance V of the CRegistry class.

  ...

-- other uses of the class go here

R:delete()

-- deletes the object.

Related Topics

CRegistry class, new, delete


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