title: Why is 1 =1 not true in this situation?
body: <p>This has no value as far as I'm concerned. I discovered this while researching a question.</p>
  
  <p>In VBA:</p>
  
  <p>Given the following: <code>Dim a As Boolean, b As Boolean, c As Boolean</code></p>
  
  <p>The code <code>a = b = c = 1 = 1</code>
  Assigns a to False.</p>
  
  <p>But <code>a = b = c = true</code> assigns a to true. </p>
  
  <p>Can anyone explain why this is so? Obviously <code>1 = 1</code> evaluates to true.</p>
  
  <p>As a side note, <code>a = 1 = 1</code> will assign a to true as well. Also the behavior is the same using variants instead of Boolean values.</p>
  
  <p>Again I know this has no practical purpose, I'm just curious if anyone can explain the behavior.</p>