title: Simple read/write record .dat file in Delphi
body: <p>For some reason my OpenID account no longer exists even when I used it yesterday. But anyway.</p>
  
  <p>I need to save record data into a .dat file. I tried a lot of searching, but it was all related to databases and BLOB things. I wasn't able to construct anything from it.</p>
  
  <p>I have the following record</p>
  
  <pre><code>   type
     Scores = record
       name: string[50];
       score: integer;
     end;  
  
  var rank: array[1..3] of scores;
  </code></pre>
  
  <p>I just need a simple way of saving and reading the record data from a .dat file. I had the book on how to do it, but that's at school.</p>