Hi! | So how would I prevent this? Could I just set the variables at the end that | I set them to at the beginning? Or could I just put the static variables in | the main loop? No, just set them to the desired value at the beginning of your program. But don't use initializer statements, instead write a=0, for example. Bye, Sebastian