title: Enums in Processing 2.0
body: <p><a href="https://stackoverflow.com/q/5811397/1263272">This</a> question refers to version 1.2.1 and it doesn't compile at a different part so it's not a duplicate.</p>
  
  <p>I want to use enums in Processing. I've read they work better in a separate file so I have done that. This code compiles correctly:</p>
  
  <pre><code>enum Status
  {
      STOPPED,MOVING
  };
  </code></pre>
  
  <p>But when I have this code</p>
  
  <pre><code>Status status;
  </code></pre>
  
  <p>in a different file it gives me the following error:</p>
  
  <pre><code>Unrecognized type:46 (ENUM_DEF)
  </code></pre>
  
  <p>I know enums aren't supported in earlier versions of Processing but are they supported in version 2.0? If so what's cause the error?</p>