title: Default parameter value for a TSomething in Delphi
body: <p>I'd like to know if this is possible in Delphi (or if there's a clean way around it):</p>
  
  <pre><code>type
   TSomething = record
    X, Y : Integer;
   end;
  </code></pre>
  
  <p><code>GetSomething( x, y )</code> -> Returns record with those values.</p>
  
  <p>... and then you have this function with <code>TSomething</code> as parameter, and you want to default it as</p>
  
  <pre><code>function Foo( Something : TSomething = GetSomething( 1, 3 );
  </code></pre>
  
  <p>The compiler spits an error here, however I'm not sure if there's a way around it!</p>
  
  <p>Can this be done?</p>