I'm not sure if you're coming from Petit Computer, which limited IF statements to one line, but in SmileBASIC, you can have multiple lines in an IF, like so: IF B==8 THEN X=X+1 LOCATE X-1,Y PRINT " " ENDIF Also, rather than @LABEL ... GOTO @LABEL, I personally find it cleaner to use WHILE or REPEAT instead.