X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=67132268d6a753e3cfdc990ac2dec0eaed6e1670;hb=d25fb653bfe19a696d3f53abd784d32ba2d3ee03;hp=4f539100d6439b048d2ea9800b769c3be98a24a2;hpb=496b7b4a5162004e33dfd3328aee7d155342f09f;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 4f53910..6713226 100644 --- a/Test.obn +++ b/Test.obn @@ -1,14 +1,13 @@ MODULE Test; -IMPORT Out; - VAR - f : BOOLEAN; - r, e : POINTER TO RECORD END; + i : INTEGER; + f : REAL; + d : LONGREAL; BEGIN - f := r = e; - IF f THEN - Out.String('Yes'); Out.Ln; - END; + i := 5 DIV 3; + f := 5 / 3; + d := 5 / 3.0; + d := 5 / 3.0D0; END Test.