# How can I use While of Code Bblock

**URL:** https://forum.dynamobim.com/t/how-can-i-use-while-of-code-bblock/63067
**Category:** DesignScript
**Tags:** codeblock, dynamo
**Created:** [April 20, 2021, 7:03am UTC](https://forum.dynamobim.com/t/how-can-i-use-while-of-code-bblock/63067 "2021-04-20T07:03:36Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)
#### Post date: [April 20, 2021, 8:41am UTC](https://forum.dynamobim.com/t/how-can-i-use-while-of-code-bblock/63067/2 "2021-04-20T08:41:40Z")

</div>

> [@For and while loop](https://forum.dynamobim.com/t/for-and-while-loop/25233):
>
> what am i missing here? i was learning from a video tutorial and i came up with this, when i am trying the same, i’m getting an empty list, thanks in advance; ps: kindly suggest where can i learn more of scripting in code blocks. thanks again.

---

_[View the full topic](https://forum.dynamobim.com/t/how-can-i-use-while-of-code-bblock/63067)._
