This code seems to be incorrect.
code:
; check for registry values in import1
if readvalue('HKEY_CURRENT_USER\Software\KiXtart\KiXtart Golf\Import1','Created 07-13-2002')<>''
$errorcount=$errorcount+1 "Import1','Created 07-13-2002'"
endif
if readvalue('HKEY_CURRENT_USER\Software\KiXtart\KiXtart Golf\Import1\Subdirectory1','')<>'This is a default value'
$errorcount=$errorcount+1 "Subdirectory1',''"
endif
------
if readvalue('HKEY_CURRENT_USER\Software\KiXtart\KiXtart Golf\Import1\Subdirectory1','')<>'A string of type REG_SZ'
$errorcount=$errorcount+1
endif
------

Import1\Subdirectory1','' should be 'String1'

{edit}
A real sucky score but it works! [Big Grin]
KixGolf score = 1657

After some sleep, the score should drop some.

[ 14 July 2002, 09:23: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/