X-Git-Url: http://deadsoftware.ru/gitweb?p=dsw-obn.git;a=blobdiff_plain;f=Test.obn;h=69389899cad06413cb1824a0829eef066767864d;hp=f0552a93a06abbaed7841faf482aae3f99251f7f;hb=023ef0d8349acdfe751bba1b50749361682f72ff;hpb=6d3cfbfd343c0d069896734e32a8c490f27cb7aa diff --git a/Test.obn b/Test.obn index f0552a9..6938989 100644 --- a/Test.obn +++ b/Test.obn @@ -1,15 +1,23 @@ MODULE Test; -IMPORT Out; +TYPE + File* = POINTER TO Handle; -VAR - i : INTEGER; + Handle = RECORD END; -BEGIN - Out.Open; - i := 48; - FOR i := 32 TO i DO - Out.Int(i, 0); Out.Char(' '); + Rider* = RECORD + eof* : BOOLEAN; + res* : LONGINT; END; - Out.Ln; + +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.