DeleteRegKey
System function.
The DeleteRegKey function deletes the specified key in the Registry. Not available in WinTask Lite.
Syntax
DeleteRegKey(<path>)
or
ret=DeleteRegKey(<path>)Parameter
<path>, string, path for the key to delete in the Registry (it's the path for the key to be deleted, not the key itself).
Return value
Ret, numeric return code. If deletion is successful, the function returns 0, otherwise use this return code for error management.
Example
res=DeleteRegKey("HKEY_CURRENT_USER\Software\Taskware\WinTask 1.0\TASKEDIT\Recent File List")