timer

i have a competiion coming up soon and i need to know if i am doing something wrong. i set a timer to run for two minutes but it mever stops. i added a prit to screen to see if i could find the problem and what i found is that the timer keeps resetting to a variable around -32000. how do i keep it going to reach 120000 miliseconds? i know how to stop it and everything but i need it to stop at a variable past the reset point.

i also need to know if there is a way to set a single variable like a counter so that if it passes a point in the program it increase by one. something like,

Variable + 1

can i do this?

:confused: :confused: :confused:

THX in advanced.

use assignment statement:
var = var +1;

Folks,
Rather than running the two threads in parallel, how about we make our further postings to:
https://vexforum.com/t/timer/17170/1
? (That’s the same topic and appears to contain a superset of what’s here.)

If someone with Admin rights would care to merge the threads, that would be helpful.

If anyone knows how best to suggest to the Admins that they merge threads (these two specifically, as well as other instances), I’d appreciate knowing.

TIA,
Eric