X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=d232953a80d3259d11c1a1987e2bd14d3a4c415c;hb=b18a306febda9b321fadd6c828fb7abc392b40c4;hp=e0445949bf94c9233425839d2dfd602e22e70243;hpb=f4aa48e4c1e3b81ccbe3da5c33fdaba3a46081dd;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index e044594..d232953 100644 --- a/Test.obn +++ b/Test.obn @@ -1,23 +1,14 @@ MODULE Test; -IMPORT Out; +IMPORT SYSTEM, Out; TYPE - P1 = POINTER TO R1; - P2 = POINTER TO R2; - P3 = POINTER TO R3; - - R1 = RECORD END; - R2 = RECORD (R1) END; - R3 = RECORD (R2) END; + R = RECORD END; VAR - r : P1; + i : INTEGER; + l : LONGINT; BEGIN - NEW(r); - Out.Open; - WITH r : P1 DO - Out.String("R1"); Out.Ln; - END; + i := SYSTEM.VAL(INTEGER, l); END Test.