Original Post
Hi guys, I want to do something like this: MyFunction() { // do some stuff } StartTimer(int n) { // calls MyFunction() every n seconds (or millisecords, doesn't matter) } StopTimer() { // kills the timer } // let's start it up StartTimer(10); // stop it later on I can't find any good examples anywhere. Thanks.