Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 6ff261dcf0789896ddf26c61e38f88e3 > files > 378

fpc-doc-3.0.4-6.mga7.i586.rpm

program iomremex;

uses
  typ, iom;

const
  m = 3;
  n = 2;
  
var
  a: array[1..m, 1..n] of ArbFloat;
  
begin
  Assign(input, ParamStr(1));
  reset(input);
  Assign(output, ParamStr(2));
  rewrite(output);
  {inlezen van de matrix}
  iomrem(input, a[1, 1], m, n, n);
  writeln('program results iomremex');
  writeln;
  writeln('A=');
  writeln;
  {afdrukken van de matrix}
  iomwrm(output, a[1, 1], m, n, n, 12);
  Close(input);
  Close(output);
end.