Up

_winreg_setvalue Scol 4.6 or above required

Set a value to a key.

Prototype :

fun [S S I S] I

Return : I 0 if success or nil if error.

See also :

Example :

fun main ()=
	_showconsole;
	_fooId _winreg_setvalue "your_company\\your_app\\Infos" "INT" 0xffff00 nil;
	_fooId _winreg_setvalue "your_company\\your_app\\Infos" "STR" nil "version 1.0";
	0;;

Note

Warning : this function is defined on MS Windows Scol version only !