Parko
07-16-2002, 08:48 AM
Dear All,
How would i tackle a time delay problem.
I have an array of 20 values (that are random each time). I want to read through this array and take the first value, wait for a a delay of 5 seconds say, and then do the same until all numbers have been shown.
delay = 5000;
if (getTimer > delay){
DISPLAY THE NUMBER
delay = delay + 5000;
return to the READ THE ARRAY FUNCTION
}
would something like that be on the right course???:confused:
How would i tackle a time delay problem.
I have an array of 20 values (that are random each time). I want to read through this array and take the first value, wait for a a delay of 5 seconds say, and then do the same until all numbers have been shown.
delay = 5000;
if (getTimer > delay){
DISPLAY THE NUMBER
delay = delay + 5000;
return to the READ THE ARRAY FUNCTION
}
would something like that be on the right course???:confused: