<div dir="ltr">Is there anyway to have variables passed by reference to a macro so the original will be updated. I&#39;m pretty sure the answer is no, but maybe I just don&#39;t know the syntax well enough. Here is what I&#39;m trying to do:<br>
<br>MACRO( TEST_SET variable, value )<br>&nbsp;&nbsp;&nbsp; SET( variable ${value} )<br>ENDMACRO()<br><br><br>SET( TEST_VAR &quot;testvar&quot; )<br>TEST_SET( TEST_VAR &quot;newval&quot; )<br>MESSAGE( SEND_ERROR ${TEST_VAR} )<br><br>prints out &quot;testvar&quot;, but I want it to be &quot;newval&quot;<br>
</div>