Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Peek and Poke in Screen 12

Status
Not open for further replies.

JHPOPE

Technical User
Feb 18, 2003
4
US
I am using Peek and Poke to move text from one position to another on the screen while working in screen mode 12. Everthing works fine except that the color is not retained at the poked location. No matter what color the original text is, it turns to white at the Poked location. How can I use Peek and Poke and retain the original color?

jhpope
 
The trouble with using PRINT in screen 12 is that the result will always be the current color on a black background unless you can xor it or use a font routine.
 
JHPOPE: would you be so kind as to post piece of code you use? So people can actually try it and see what happens.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top