09-16-2012, 06:10 PM
boriel Wrote:LCD Wrote:Hi Boriel,Hmmm. I can't understand this example. 'adr' is an Ulong variable? What is 'a'?
works, it should do the same asCode:poke Uinteger adr,peek(Uinteger,adr+128)
poke Uinteger adr+2,peek(Uinteger,adr+130)
should copy 4 bytes, but the first 2 bytes are not correct.Code:poke Ulong adr+(a<<5),peek(Ulong,adr+128)
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).
Oooops, it should be
Code:
poke Ulong adr,peek(Ulong,adr+128)
adr is a uinteger variable and the example should copy 4 bytes from one address to another, but the first 2 bytes are corrupted after copying.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!