This is a short example to handle button input. You need to use the button variable and the button constant(or the value of it) to detect the input.
VAR B
WHILE TRUE
CLS
B=BUTTON()
IF B AND #UP THEN ? "UP"
IF B AND #DOWN THEN ? "DOWN"
IF B AND #LEFT THEN ? "LEFT"
IF B AND #RIGHT THEN ? "RIGHT"
IF B AND #A THEN ? "A"
VSYNC 1
WEND
0そうだね プレイ済み