I ran a quick test:<br clear="all"><div><br></div><div><div><br></div><div>function( test )</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>message( &quot;SOME_TEST: ${SOME_TEST}&quot; )</div><div>endfunction()</div>
<div><br></div><div>function( start )</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>set( SOME_TEST &quot;HELLO WORLD&quot; )</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>test()</div>
<div>endfunction()</div><div><br></div><div>start()</div></div><div><br></div><div><br></div><div>Seems like a function has access to the calling scope&#39;s defined variables. I thought because functions created a new scope, that excluded access to variables defined in the outer scope (i.e. calling scope)</div>
<div><br></div><div>Can someone explain?</div><div><br></div><div>---------</div>Robert Dailey<br>