title: Wrapping TStringList in a Record
body: <p>I tend to use Delphi's TStringList for text manipulation, so I write a lot of procedures/functions like:</p>
  
  <pre><code>var
    TempList: TStringList;
  begin
    TempList:= TStringList.Create;
    try
      // blah blah blah do stuff with TempList   
  
  
    finally
      TempList.Free;
    end;
  end;
  </code></pre>
  
  <p>It would be nice to cut out the creation and freeing for such a common utility class.</p>
  
  <p>Since we now have records with methods, is it possible to wrap a Class like TStringList in a
  Record so I could just have:  </p>
  
  <pre><code>var
    TempList: TRecordStringList;
  begin
    // blah blah blah do stuff with TempList   
  
  
  end;
  </code></pre>