X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=22a2a55a2296d4cb933c58e7bf882acf1207e69e;hb=ac2eb0e30e5c65480e72565b104ea9a602fe31e2;hp=b9b14ae66be8abf069ff9c19ca678ff3e117694d;hpb=57963798c338b0b73e032e9288003fd462f8b954;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index b9b14ae..22a2a55 100644 --- a/Test.obn +++ b/Test.obn @@ -1,23 +1,15 @@ MODULE Test; -TYPE - Stream* = POINTER TO Handle; - Handle = RECORD END; +PROCEDURE A(a : INTEGER); + VAR + x : INTEGER; +END A; + +PROCEDURE B(b : SHORTINT); + PROCEDURE A(c : LONGINT); + VAR + y : ARRAY 3 OF INTEGER; + END A; +END B; - Writer* = RECORD END; - - Printer* = RECORD (Writer) END; - -VAR - s : Stream; - o : Writer; - out : Printer; - -PROCEDURE SetStream(VAR w : Writer; stream : Stream); -BEGIN -END SetStream; - -BEGIN - SetStream(o, s); - SetStream(out, s); END Test.