Log In  


it would be nice, when the poke() would return the address after the poke, like print() does.

for example:

adr=poke(adr,1)

should do the same as

poke(adr,1)
adr+=1

or

adr=poke2(adr,0xffff)

instead of

poke2(adr,0xffff)
adr+=2

or

str="abcdef"
adr = poke(adr,ord(str,1,#str))

instead

str="abcdef"
poke(adr,ord(str,1,#str))
adr+=#str
1


how would that work with multi-argument poke?

what’s the use case?


as the last example (ord returns more than one value here) return the position behind all "multi-argument-values".
In this case it would save 2 Tokens...



[Please log in to post a comment]