The POKE statement is a versatile tool to weave into your programs. Now we will use it to finish our excursion in color printing with a program that moves our centipede across the screen, back across the screen one line below, and repeats the action for a specified number of lines. While I won’t try to explain every detail of every line, hopefully you’ll see that the important lines (the ones with POKE statements) are tied together by an overall logic. With a little thinking and a little serendipity, you can edit the basic template we develop here to get a feel for screen control.
Unable to display preview. Download preview PDF.