31.12.2009, 12:15
No lol .. the AutoTimer = global variable which I then use to start the timer .. like
AutoTimer = SetTimer("SwitchMode", 120000, 0);
The SwitchMode is the function it runs. It's global because I need to KillTimer also.
Thanks for your help though, seems that once I put the variable into the KillTimer function it compiled fine
AutoTimer = SetTimer("SwitchMode", 120000, 0);
The SwitchMode is the function it runs. It's global because I need to KillTimer also.
Thanks for your help though, seems that once I put the variable into the KillTimer function it compiled fine
