diff --git a/Test.obn b/Test.obn
index b9b14ae66be8abf069ff9c19ca678ff3e117694d..a704f0db4d56d3206461fc18065a9afa32220c0e 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-TYPE
- Stream* = POINTER TO Handle;
- Handle = RECORD END;
+ TYPE
+ CPinfo = RECORD
+ tag : INTEGER;
+ index : ARRAY 2 OF LONGINT;
+ int : LONGINT;
+ float : REAL;
+ long : HUGEINT;
+ double : LONGREAL;
+ utf8 : POINTER TO ARRAY OF CHAR;
+ END;
- Writer* = RECORD END;
+ CPool = POINTER TO ARRAY OF CPinfo;
- Printer* = RECORD (Writer) END;
-
-VAR
- s : Stream;
- o : Writer;
- out : Printer;
-
-PROCEDURE SetStream(VAR w : Writer; stream : Stream);
-BEGIN
-END SetStream;
+ VAR
+ i : HUGEINT;
+ cpool : CPool;
BEGIN
- SetStream(o, s);
- SetStream(out, s);
+ i := 16;
+ NEW(cpool, i);
END Test.