X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=a704f0db4d56d3206461fc18065a9afa32220c0e;hb=9ae75f92f805e23b0b151cf8be18a3fe96935c3b;hp=8249fb77223116fd24082f63a7dba78821d98fe1;hpb=d54469555328facc1c3b20e741b0bc3d2061685d;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 8249fb7..a704f0d 100644 --- a/Test.obn +++ b/Test.obn @@ -1,8 +1,23 @@ MODULE Test; -IMPORT Out; + 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; + + CPool = POINTER TO ARRAY OF CPinfo; + + VAR + i : HUGEINT; + cpool : CPool; BEGIN - Out.Open; - Out.String("Hello World!"); Out.Ln; + i := 16; + NEW(cpool, i); END Test.