title: file scope and static floats
body: <p>I've run into an interesting problem in an AI project of mine.  I'm trying to format some debug text and something strange is happening.  Here's a block of code:</p>
  
  <pre><code>    float ratio = 1.0f / TIME_MOD;
  </code></pre>
  
  <p>TIME_MOD is a static float, declared in a separate file.  This value is modified based off of user input in another class (I have verified that the value is changed while still debugging within the scope of the "input" function), but whenever I try to divide by it in my outer loop I get the same number.  (1 divided by the initial value of TIME_MOD).</p>
  
  <p>Am I missing something regarding static variables and file scope?</p>