Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Repeat 0
- Repeat Ans
- getKey->K
- End
- //M will be the movement variable.
- //This will move up and down only, but will give a basic sense of control
- M+(K=34)-(K=26)->M
- //34=The getKey value for a down arrow.
- //26=Getkey for an up arrow.
- Text(M,5,"<
- End
- //////////////////////////////////
- //Try this program out, it will move a Less than sign up and down the //screen, IF you go to far to the top, or the bottom of the screen,
- //there will be an error, because you are drawing off the screen
- //also your column will eventually be filled with black
- //The next program will solve both of these problems
- //////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment