new_registry
The new_registry function is a non-class version of the CRegistry:new method which creates and returns a new CRegistry object.
R = new_registry() Creates a new CRegistry object without specifying a key name. You must follow this with R:Open to open a named registry key. R = new_registry( sKeyName ) Creates a new CRegistry object and opens the named key. R = new_registry( CRegistry_old ) This is a copy constructor. It opens a new CRegistry R initialized to the key used by CRegistry_old. On failure, nil is returned. |
The following script creates a new CRegistry object:
|
-- create a registry object R and open the named key. |
|
-- other uses of the class go here |
|
-- delete the object. |
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.