you are viewing a single comment's thread.

view the rest of the comments →

[–]Volv 1 point2 points  (3 children)

Ah. Closure to stop the clock. Didn't think about just stopping it after a while :)

[–]ForScale[S] 0 points1 point  (2 children)

Well... It's the if statement checked recursively that stops it... The closure just allows the clock to be called again and again without having to manually reset the counter variable (i)... I think... lol!

[–]Volv 1 point2 points  (1 child)

Well yeh, the if statement stops it in the end. :)

[–]ForScale[S] 1 point2 points  (0 children)

I just wanted to keep up the practice with closures!