title: I can't seem to declare variables within a pl/sql function?
body: <p>This is a really simple question, but I can't seem to find the syntax for this anywhere.</p>
  
  <p>I have something like this:</p>
  
  <pre><code>FUNCTION some_function
  (
  t_string IN VARCHAR2
  ) RETURN NUMBER IS
  
  some_variable NUMBER;
  
  BEGIN
  //logic
  END some_function;
  </code></pre>
  
  <p>It hits the some_variable declaration and tells me it was expecting "language" where/how do I declare variables? I've seen examples which have done it this way but for some reason it doesn't work.</p>
  
  <p>Many thanks,
  Fugu</p>