one of my codes does not work anymore. So I did a short test:
Code: Select all
Define Test.u, Res.u
PokeA(@Test, $00)
PokeA(@Test + 1, $20)
Debug Hex(Test) + " - 2000 is Ok"
Debug Hex(ntohs_(Test)) + " - should be 20"
res = ntohs_(Test)
Debug Hex(res) + " - 20 is Ok"
Select ntohs_(Test)
Case $0020
Debug "Ok"
Case $2000
Debug "NOk"
Default
Debug "totally NOk"
EndSelect
In my code I use the Select statement which fails now.2000 - 2000 is Ok
200020 - should be 20
20 - 20 is Ok
totally NOk
In PB 5.73 it worked.
Now I use 6.04 x86 asm in windows and it fails.
Also the C backend x86 fails.
I would call it a bug.
Can someone confirm this, or tell me my mistake?



