Line 5 - SmileBASIC uses a completely different syntax to repeat a string. You can multiply a string by any number to repeat it that many times. Line 7 - Changed your DO to a REPEAT again. Line 9 - The keyword LOOP isn't used. The sign for Not Equal is '!=' rather than '<>'.