PDA

View Full Version : Time Delay


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:

farafiro
07-16-2002, 09:19 AM
search the forums here for that u will find many subjects about it
also there are a ready-made code in the library section

Parko
07-16-2002, 01:01 PM
thanks......

the problem seems to be now a dead problem, i have mastered and bothched up some code that works lovely... thanks to your reply......

cheers mate......