title: How to save and take global variables
body: <p>Please help me fix this code!:</p>
  
  <p>first .m file:</p>
  
  <pre><code>NSInteger MYGlobalVariable = 0;
  </code></pre>
  
  <p>second .m file:</p>
  
  <pre><code>-(IBAction)globalvariable {
      if (NSInteger MYGlobalVariable = 0:
          [comp4nat setHidden = YES]);
  }
  </code></pre>