Either you are using a version of KiX prior to 3.62 or something else is wrong:test.kix is
code:
$A=0
$A=$A+1
$B=2
$B=$B+$A
$B ?
I ran this command:
for %a in (k*.exe) do %a test.kix
so that your script would run on every version of KiX that I have...
The results
code:
C:\scripts>kix2kb1.exe test.kix
3C:\scripts>kix2kb2.exe test.kix
3
C:\scripts>kix2kb2a.exe test.kix
3
C:\scripts>kix2kr40.exe test.kix
3
C:\scripts>kix2kr41.exe test.kix
3
C:\scripts>kix2kr42.exe test.kix
3
C:\scripts>kix2kr43.exe test.kix
3
C:\scripts>kix362.exe test.kix
3
C:\scripts>kix363.exe test.kix
3
as you can see, all versions reported 3.
Please post more code.
cj