AlexW
(Fresh Scripter)
2007-10-18 06:44 PM
Errorlevel bug in 4.60

Hello,

This may be a bug in 4.60, Ruud can you look at this behavior please?

When starting the attached script text.kix (with an error in that script, calling a non defined function)the result is as follow:

kix32.exe 4.60 returns errorlevel 0, while expecting errorlevel 1
kix32.exe 4.53 returns errorlevel 1, as expected

exit or quit with a specified 'errorlevel' still works.


Witto
(MM club member)
2007-10-18 07:11 PM
Re: Errorlevel bug in 4.60

True
The "script" will show
 Code:
ERROR : unknown command [Test]!
Script: C:\Script\MyScript.kix
Line  : xx

After that, just type
 Code:
ECHO %ERRORLEVEL%

KIX32.EXE 4.53 shows 1
KIX32.EXE 4.60 shows 0


paperinik
(Fresh Scripter)
2009-01-14 02:34 PM
Re: Errorlevel bug in 4.60

This bug is still there in
4.61b1
It is NOT fixed at this moment.


AllenAdministrator
(KiX Supporter)
2009-08-27 03:37 PM
Re: Errorlevel bug in 4.60

Appears to be fixed in 4.61.

Glenn BarnasAdministrator
(KiX Supporter)
2009-08-29 01:48 PM
Re: Errorlevel bug in 4.60

Confirmed - behavior matches 4.53 and earlier. \:\)

Glenn


Kiyouta
(Just in Town)
2009-12-11 11:01 AM
Re: Errorlevel bug in 4.60

This is NOT fixed in 4.61. I still get errorlevel of 0 with the test script.