DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


SetRegValue

Declaration: SetRegValue (RootKey: TRegRootKey; SubKey, ValueID, Value: string);
The procedure SetRegValue stores a value in the Windows registry. The parameter RootKey defines the root key and the parameter SubKey specifies the key (including its path) used within the branch of the root key. The parameter ValueID specifies the name under which the Value is to be stored.

Warning: Be careful, this function is potentially dangerous and can cause damage to your installation if applied to a critical value.

Example: The statement
SetRegValue (hkeyCurrentUser, '/Software/MyProduct/Customization/BgndColor','00CCB0F8');
stores the hex value 00CCB0F8 under the name BgndColor in the registry key HKEY_CURRENT_USER/Software/MyProduct/Customization.