Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
POKE ULONG (*solved*)
#2
LCD Wrote:Hi Boriel,
Code:
poke Uinteger adr,peek(Uinteger,adr+128)
poke Uinteger adr+2,peek(Uinteger,adr+130)
works, it should do the same as
Code:
poke Ulong adr+(a<<5),peek(Ulong,adr+128)
should copy 4 bytes, but the first 2 bytes are not correct.
Hmmm. I can't understand this example. 'adr' is an Ulong variable? What is 'a'?
Anyway, I guess this is related to a previous fixed bug with poke Uinteger (except I forgot to check for Ulong, Long, Fixed and Float types).
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)