Line 1: If you put two commands on the same line, you need to separate them with a colon. Line 2: There is no "DO - LOOP" structure in SmileBASIC - you either need to use "WHILE - WEND" or "REPEAT - UNTIL". I changed both of these loops to REPEAT loops because the condition statement was put at the end. Line 4 - This line isn't needed because line 5 will do all the work.