I had come to find that the variable existed (the one pointed to by list_var), however it was indeed empty.<br><br>I do appreciate you taking your free time to help me out David.<br><br><div class="gmail_quote">On Thu, Jan 22, 2009 at 1:13 PM, David Cole <span dir="ltr">&lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Print it out to make sure it is what you think it is. Perhaps it&#39;s empty and REMOVE_DUPLICATES doesn&#39;t like empty lists? If so, file a bug: REMOVE_DUPLICATES should probably just be a silent no-op if the list is empty.<div>

<div><br></div><div>Or is it a variable that is not defined?<br><br></div><div>What does:</div><div>MESSAGE(STATUS &quot;list_var=&#39;${list_var}&#39;&quot;)</div><div><div>MESSAGE(STATUS &quot;${list_var}=&#39;${${list_var}}&#39;&quot;)</div>

<div>...executed just before the REMOVE_DUPLICATES call print out?</div><div><br></div><div><br></div><div><br></div><div class="gmail_quote"><div class="Ih2E3d">On Thu, Jan 22, 2009 at 1:26 PM, Robert Dailey <span dir="ltr">&lt;<a href="mailto:rcdailey@gmail.com" target="_blank">rcdailey@gmail.com</a>&gt;</span> wrote:<br>

</div><div><div></div><div class="Wj3C7c"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div>On Thu, Jan 22, 2009 at 5:39 AM, David Cole <span dir="ltr">&lt;<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Use &quot;list_var&quot; instead of &quot;${list_var}&quot;<br><br>${list_var} will only work if it happens to evaluate to the name of a list variable....</blockquote></div><div><br>That was the entire point :)<br><br>list_var isn&#39;t a list, it&#39;s a variable pointing to a list. Apologies if I did not explain this properly before.<br>


</div></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br>