Page 1 of 1 1
Topic Options
#181759 - 2007-10-18 06:44 PM Errorlevel bug in 4.60
AlexW Offline
Fresh Scripter

Registered: 2005-02-02
Posts: 7
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.


Attachments
test.kix (823 downloads)
Description:



Top
#181760 - 2007-10-18 07:11 PM Re: Errorlevel bug in 4.60 [Re: AlexW]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
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

Top
#191783 - 2009-01-14 02:34 PM Re: Errorlevel bug in 4.60 [Re: Witto]
paperinik Offline
Fresh Scripter

Registered: 2007-11-04
Posts: 23
Loc: Germany
This bug is still there in
4.61b1
It is NOT fixed at this moment.

Top
#195636 - 2009-08-27 03:37 PM Re: Errorlevel bug in 4.60 [Re: paperinik]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
Appears to be fixed in 4.61.
Top
#195669 - 2009-08-29 01:48 PM Re: Errorlevel bug in 4.60 [Re: Allen]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
Confirmed - behavior matches 4.53 and earlier. \:\)

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#197079 - 2009-12-11 11:01 AM Re: Errorlevel bug in 4.60 [Re: Glenn Barnas]
Kiyouta Offline
Just in Town

Registered: 2006-08-05
Posts: 3
This is NOT fixed in 4.61. I still get errorlevel of 0 with the test script.
Top
Page 1 of 1 1


Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 557 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.057 seconds in which 0.025 seconds were spent on a total of 14 queries. Zlib compression enabled.