GetRegistryKey

Top  Previous  Next

Use this function to get a registry key value, that was set with the SetRegistryKey function

 

Syntax

 

keyValue = GetRegistryKey(  keyName, [subKeyName] )

 

Parameters

keyName

 

the name of the key, used by SetRegistryKey

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" )