X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=8c3a8d1458efc80ddf4837c106b664b70a3abfae;hb=9f8036eb00032fa7f756113365cb42e05ab262df;hp=4f539100d6439b048d2ea9800b769c3be98a24a2;hpb=496b7b4a5162004e33dfd3328aee7d155342f09f;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 4f53910..8c3a8d1 100644 --- a/Test.obn +++ b/Test.obn @@ -3,12 +3,16 @@ MODULE Test; IMPORT Out; VAR - f : BOOLEAN; - r, e : POINTER TO RECORD END; + msg : ARRAY 20 OF CHAR; BEGIN - f := r = e; - IF f THEN - Out.String('Yes'); Out.Ln; - END; + 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; END Test.