k, little translation by myself too:
code:
IF Open(1,"c:\templog.txt")
? "File not open"
?"@ERROR : @SERROR"
sleep 2
exit 1
ENDIF

$result = ReadLine(1)
$x = SUBSTR("$result",20,15)
$ = Close(1)

_________________________
!

download KiXnet