(* Collection of code snippets by Arne Vajhøj *)
(* (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) *)
program binr(input,output);

%include 'bin.inc'

var
   f : file of rec;

begin
   open(f, 'z.dat', old);
   reset(f);
   while not(eof(f)) do begin
      writeln(f^.iv:3, ' ', f^.xv:7:3, ' ', f^.sv);
      get(f);
   end;
   close(f);
end.
