X-Git-Url: https://deadsoftware.ru/gitweb?p=dsw-obn.git;a=blobdiff_plain;f=Test.obn;h=69389899cad06413cb1824a0829eef066767864d;hp=4f539100d6439b048d2ea9800b769c3be98a24a2;hb=023ef0d8349acdfe751bba1b50749361682f72ff;hpb=496b7b4a5162004e33dfd3328aee7d155342f09f diff --git a/Test.obn b/Test.obn index 4f53910..6938989 100644 --- a/Test.obn +++ b/Test.obn @@ -1,14 +1,23 @@ MODULE Test; -IMPORT Out; +TYPE + File* = POINTER TO Handle; -VAR - f : BOOLEAN; - r, e : POINTER TO RECORD END; + Handle = RECORD END; -BEGIN - f := r = e; - IF f THEN - Out.String('Yes'); Out.Ln; + Rider* = RECORD + eof* : BOOLEAN; + res* : LONGINT; END; + +PROCEDURE Old*(name : ARRAY OF CHAR) : File; +BEGIN + RETURN NIL +END Old; + +PROCEDURE New*(name : ARRAY OF CHAR) : File; +BEGIN + RETURN NIL +END New; + END Test.