keyp
Outputs T RUE if a character has been typed at the keyboard and is waiting to be
read.
?to i nkey
>i
f
keyp Cop re] Cop "]
>end
paddle
Returns the state of either joystick 0 or 1. The positions of the joystick are indicated
as
follows:
Value returned
255
o
1
2
3
4
5
6
7
?paddLe 0
255
Meaning
Nothing pressed
Up
Up and right
Right
Down and right
Down
Down and left
Left
Up and left
The fire buttons are tested by but ton p.
re
(read character) Outputs the first character typed at the keyboard.
?make "key re
.... then press X key ....
?:key
X
Chapter 6 Page 36
Introduction to Logo