var</span> <span class="mdzsyn-number">10</span>)</code></pre><h2>Getting a value
</h2>
<p>To get a dynamically scoped binding, use the <code class="mendoza-code">dyn</code> function.
</p>
<pre class="mendoza-codeblock"><code data-language="janet">(<span class="mdzsyn-coresym">dyn</span> <span class="mdzsyn-keyword">:my-var</span>) <span class="mdzsyn-comment"># returns nil</span>
(<span class="mdzsyn-coresym">setdyn</span> <span class="mdzsyn-keyword">:my-var</span> <span class="mdzsyn-number">10</span>)
(