POKE headache
Posted: Mon Dec 20, 2004 7:18 am
To change 1 letter to another with"POKE",
I got that code from your site (thank you):
x$ = "C"
Def Seg = sseg(x$)
Poke sadd(x$), asc("D")
Def Seg
print x$
In QB45 you should change SSEG to VARSEG, and SADD to VARPTR
It works in QB7.1 but not in QB 4.5 with the recommended change (sseg for Varseg,etc)
In return I get many characters.Why?
I got that code from your site (thank you):
x$ = "C"
Def Seg = sseg(x$)
Poke sadd(x$), asc("D")
Def Seg
print x$
In QB45 you should change SSEG to VARSEG, and SADD to VARPTR
It works in QB7.1 but not in QB 4.5 with the recommended change (sseg for Varseg,etc)
In return I get many characters.Why?