Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 9825acea20b8c1730a908ceb6b6baa6d > files > 377

fpc-doc-3.0.4-6.mga7.armv7hl.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.