I think if it says there's a break, it just means the program was stopped on that line. I do notice though that you're trying to use BTRIG, which isn't used in SmileBASIC. The equivalent is BUTTON(2). Also, 1024 is an unused button value, and START or SELECT both end the program, so they cannot be used except for being held down when a program starts.