X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=67132268d6a753e3cfdc990ac2dec0eaed6e1670;hb=d25fb653bfe19a696d3f53abd784d32ba2d3ee03;hp=8c3a8d1458efc80ddf4837c106b664b70a3abfae;hpb=9f8036eb00032fa7f756113365cb42e05ab262df;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 8c3a8d1..6713226 100644 --- a/Test.obn +++ b/Test.obn @@ -1,18 +1,13 @@ MODULE Test; -IMPORT Out; - VAR - msg : ARRAY 20 OF CHAR; + i : INTEGER; + f : REAL; + d : LONGREAL; BEGIN - Out.Open; - COPY("Hello World!", msg); - Out.String(msg); Out.Ln; - COPY("Hell!", msg); - Out.String(msg); Out.Ln; - COPY("The quick brown fox jumps over the lazy dog", msg); - Out.String(msg); Out.Ln; - msg := "Hello World!"; - Out.String(msg); Out.Ln; + i := 5 DIV 3; + f := 5 / 3; + d := 5 / 3.0; + d := 5 / 3.0D0; END Test.