title: Problems with #define - expected expression before "=" token
body: <p>Beginner's question: I dared to introduce constants into my little program. I first resisted, but then I thought I should give it a try... to see that it doesn't work.</p>
  
  <p>Okay, this is what I have put in the very first line of my .m file:</p>
  
  <pre><code>#define kPageCurlSpeed = 2.5;
  </code></pre>
  
  <p>And this is what I put in my method:</p>
  
  <pre><code>[UIView setAnimationDuration:kPageCurlSpeed];
  </code></pre>
  
  <p>And behold... it doesn't work and I get the compiler message that "expected expression before "=" token"... I have no idea of how to translate that into English.</p>
  
  <p>I thought the compiler simply replaces kPageCurlSpeed with 2.5 -- so this shouldn't cause any problems. But I guess that's just theory.</p>
  
  <p>Any help would be very much appreciated. </p>