CRegistry:SetNum
The SetNum method saves a numeric value to a Registry key.
CRegistry:SetNum( sName, nValue )
|
The following script opens a key specified by sKeyName and saves a numeric value to the Registry under the name "MyVal":
|
-- open the key and create a CRegistry object |
|
-- saves the value 53.412 under the name "MyVal" |