X-Git-Url: https://deadsoftware.ru/gitweb?p=dsw-obn.git;a=blobdiff_plain;f=Test.obn;h=8c3a8d1458efc80ddf4837c106b664b70a3abfae;hp=4f539100d6439b048d2ea9800b769c3be98a24a2;hb=9f8036eb00032fa7f756113365cb42e05ab262df;hpb=e637b466c2a4e0b0feb0f264ad4342ecfe9efd21 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.