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( "SOME_TEST: ${SOME_TEST}" )</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 "HELLO WORLD" )</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'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>