X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=8c3a8d1458efc80ddf4837c106b664b70a3abfae;hb=9f8036eb00032fa7f756113365cb42e05ab262df;hp=98ac0e23e370819a8b9e96db5387e7f64d97eb65;hpb=a0ff807fe0e69c50469e506836467da32f23f754;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 98ac0e2..8c3a8d1 100644 --- a/Test.obn +++ b/Test.obn @@ -1,12 +1,18 @@ MODULE Test; +IMPORT Out; + VAR - a : POINTER TO RECORD END; - b : POINTER TO ARRAY OF INTEGER; - c : PROCEDURE; + msg : ARRAY 20 OF CHAR; BEGIN - a := NIL; - b := NIL; - c := NIL; + 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.