<div dir="ltr">Hi Clark<br><div class="gmail_extra"><br>The expression inside the if statement has it's variables dereferenced before evaluating and the non-variables are treated as constant expressions.  In this case, a resolves to "b", b resolves to "c", and c is not a variable so it's treated as the constant expression "c".  Thus<br>

<br><span style="font-family:courier new,monospace">if(a STREQUAL b OR a STREQUAL c)<br></span><br></div><div class="gmail_extra">gets evaluated as<br><br><span style="font-family:courier new,monospace">if( ("b" STREQUAL "c") OR ("b" STREQUAL "c") )<br>

<br></span></div><div class="gmail_extra"><span style="font-family:courier new,monospace"><font face="arial,helvetica,sans-serif">which is clearly false.  Hope that helps.<br><br></font></span></div><div class="gmail_extra">

<span style="font-family:courier new,monospace"><font face="arial,helvetica,sans-serif">- Chuck<br></font></span></div><div class="gmail_extra"><br></div></div>