I recommend using DEF functions for everything but the main loop (the one that makes the program go on forever) Visit the third party website called smilebasicsource which is the main place to find SmileBASIC tests and glitches and programs