SetRegistryKey

Top  Previous  Next

Use this function to set a registry key.

 

Syntax

 

SetRegistryKey(  keyName, keyValue, [subKeyName] )

 

Parameters

keyName

 

the name of the key, used by SetRegistryKey

keyValue

 

the string value of the key. numbers will be converted to strings

subKeyName

 

the name of the subKey

 

 

 

 

Examples

 

SetRegistryKey( "HelloWorld", "What a wonderful day." )

PRINT GetRegistryKey( "HelloWorld" )

 

SetRegistryKey( "Count", 0 )

 

count = GetRegistryKey( "Count" )

count = count + 1

SetRegistryKey( "Count", count )

PRINT GetRegistryKey( "Count" )