home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.pdx.edu / 2014.02.ftp.ee.pdx.edu.tar / ftp.ee.pdx.edu / pub / users / Harry / compilers / p3 / tst / stat9.pcat < prev   
Text File  |  2005-10-24  |  209b  |  9 lines

  1. program is 
  2.   type T is array of integer;
  3.   var a := T {{ 2 of 0 }};
  4.   procedure echo(x: integer) is begin write(x); return x; end;
  5.   begin
  6.     read(a[echo(0)], a[echo(1)]);
  7.     write(a[0], " ", a[1]);
  8.   end;
  9.