name$="blitz basic"
Graphics 640,480
SetBuffer BackBuffer()
HidePointer
Why doesn`t the following work? I can see nothing wrong with it but the string printed has none of its letters replaced. b`s should be replaced by a`s so why is the string still "blitz basic" as oppossed to "alitz aasic"?
While Not KeyHit(1)
Cls
Replace(name$,"b","a")
Text 10,10,name$
Flip
Wend
End
Graphics 640,480
SetBuffer BackBuffer()
HidePointer
Why doesn`t the following work? I can see nothing wrong with it but the string printed has none of its letters replaced. b`s should be replaced by a`s so why is the string still "blitz basic" as oppossed to "alitz aasic"?
While Not KeyHit(1)
Cls
Replace(name$,"b","a")
Text 10,10,name$
Flip
Wend
End