X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=a704f0db4d56d3206461fc18065a9afa32220c0e;hb=9ae75f92f805e23b0b151cf8be18a3fe96935c3b;hp=f76917867cb0d1bcb880b7e0cf655f116919947f;hpb=8c59e1e41700802575cefb289600028909c5ffc2;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index f769178..a704f0d 100644 --- a/Test.obn +++ b/Test.obn @@ -1,12 +1,23 @@ MODULE Test; -VAR - i : SHORTINT; - s : SET; + 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; -PROCEDURE X; -END X; + CPool = POINTER TO ARRAY OF CPinfo; + + VAR + i : HUGEINT; + cpool : CPool; BEGIN - i := SHORT(12345); + i := 16; + NEW(cpool, i); END Test.