title: How to define a global variable that can be accessed anywhere in my application?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5080661/global-int-variable-objective-c">Global int variable objective c</a>  </p>
  </blockquote>
  
  
  
  <p>I would like to create a global variable.
  I want to access to this variable anywhere.</p>
  
  <p>The Java equivalent:</p>
  
  <pre><code>static var score:int = 0;
  </code></pre>
  
  <p>For example if I define a global variables into the Game class.
  How to access to this global variable?</p>
  
  <pre><code>Game.score ?
  </code></pre>