Add a pause inside a loop?

In a panic because I just discovered I can't use the clock for iteration for my task.
Is there any way to code something along the following lines?

i=10
while(i>0) {
print(i)
WAIT 1 second
i = i-1}

there was an earlier discussion that said using the system clock for a pause is a bad idea...I can't think of anything else...is there a way to call the clock for a 1 second pause? sort of trying to do a countdown timer in a silly way here without relying on the clock to do the timing loop.

thanks!

A post was merged into an existing topic: Procedure not being called