@richard h.

You are mostly right.
I made some tests with the following results:

1.
Script #1:
? @kix
$ffxdel = deltree ("HKEY_LOCAL_MACHINE\Software\Mozilla\blabla\")
? @error
exit @error

result kix4.53:
4.53
2

result kix4.60:
4.60
2
ERROR : failed to find/open script [testbug1.kix]!

2.
Script #2:
? @kix
exit -123

result kix4.53:
4.53
ERROR : failed to find/open script [testbug2.kix]!

result kix4.60:
4.60

3.
Script #3:
? @kix
exit 123

result kix4.53:
4.53

result kix4.60:
4.60


Script #4:
? @kix
exit 2

result kix4.53:
4.53

result kix4.60:
4.60
ERROR : failed to find/open script [testbug4.kix]!

5.
comment:
in #1 all returns are positive, but with 4.60 there is an errormessage on exit.
in #2 the value is negative, 4.53 react as you described with an errormessage, but 4.60 exit without an errormessage!
in #3 the exit value is positive, 4.60 and 4.53 works fine.
in #4 the value is 2, but with 4.60 there is an errormessage on exit (like in #1).

The results in #1 and #2 with 4.60 and 4.53 are conversely and contradictory.
There could be a problem with some values with the exit-command.


Edited by paperinik (2007-11-05 11:16 AM)
Edit Reason: adding testresult #3 and #4