Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Peek (uInteger,@label) problem (*solved*)
#1
Hallo Boriel,
I just found following Problem in s888 and s894

Code:
paper 7:ink 0:border 7:cls
print peek(uinteger,@test)
print peek(@test)+256*peek(@test+1)
End
test:
asm
    defw 35600
end asm
It should print in both cases the value 35600, but the first number looks like the address of the test label.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#2
Yep, it was a bug. Please download the latest version 1.2.9s904, which fixes it.
Reply
#3
boriel Wrote:Yep, it was a bug. Please download the latest version 1.2.9s904, which fixes it.
Link is 404...
Better this one:
<!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Archive">http://www.boriel.com/wiki/en/index.php ... IC:Archive</a><!-- m -->
Thanks for fast fixing!!!
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)