home *** CD-ROM | disk | FTP | other *** search
QuickBASIC Tokenized Source | 1989-12-04 | 1.6 KB | 27 lines |
- RGHT|
- UPLFT
- UPRGHT
- DOWNLFT
- DOWNRGHT
- SPACEBAR
- KeyVal
- Values for keys on the numeric keypad and the spacebar:
- Null$ is the first character of the two-character INKEY$
- value returned for direction keys such as UP and DOWN:Y
- Plot$ = "" means draw lines; Plot$ = "B" means move
- graphics cursor, but don't draw lines:B
- Use the cursor movement keys to draw lines."
- Press the spacebar to toggle line drawing on and off."
- Press <ENTER> to begin. Press q to end the program."
- C1 U2"
- C1 D2"
- C2 L2"
- C2 R2"
- C3 H2"
- C3 E2"
- C3 G2"
- C3 F2"
- The user pressed some key other than one of the
- direction keys, the spacebar, or "q", so
- don't do anything.e
-