Re: [DOS] How to code for a time delay? - AGAIN
- Posted by don cole <doncole at pacbell.net> May 28, 2007
- 557 views
Alex Caracatsanis wrote: > > One more question: how would I go about shortening the delay interval (to > say 0.5 seconds), as sleep(i) accepts only an integer argument? ie: > <display a star><wait 0.5sec><display another star><wait 0.5sec><...etc> > > Thank you > > Alex Caracatsanis Hello Alex,
procedure delay(integer a,integer b) for=1 to a do for y=1 to b do end for end for end procedure atom start start=time() delay(100,1000) ?time-start
By changing the values of a and b you can come up with any delay time you want. Don Cole