# Nested setintervals

**URL:** <https://forum.kirupa.com/t/nested-setintervals/204988>\
**Category:** Uncategorized\
**Created:** [October 25, 2006, 4:49am UTC](https://forum.kirupa.com/t/nested-setintervals/204988 "2006-10-25T04:49:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stahler](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/stahler/32/2905_2.png) [@stahler](https://forum.kirupa.com/u/stahler)\
**Post date:** [October 25, 2006, 4:49am UTC](https://forum.kirupa.com/t/nested-setintervals/204988/1 "2006-10-25T04:49:49Z")

</div>

I wan’t to have a set interval thread start new setintervals inside of it every time the most-nested one completes.

I feel like i’ve tried it six ways from sunday, but the program either halts or runs 1 loop.

do I need to do something special about namespaces / variable scope?
