CRegistry:SetNum
The SetNum method saves a numeric value to a Registry key.
CRegistry:SetNum( sName, nValue ) where sName is the name of the value being saved. nValue is the numeric value to be saved. |
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" |