Board Thread:Questions and Answers/@comment-71.66.236.48-20141130210347/@comment-71.66.236.48-20141130210722

I tried putting the goto on its own line, and now it prints the button a ton of times. I'll post the code I'm using.

@UP

LOCATE X,Y

?"[up arrow]

BEEP 9

IF Y<=31 THEN X=X+1 ELSE X=0 Y=Y+1

GOTO @LOOP