X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=8c3a8d1458efc80ddf4837c106b664b70a3abfae;hb=9f8036eb00032fa7f756113365cb42e05ab262df;hp=0b020f71a79862e5a3510e07528b982ea6a21749;hpb=879793eaf1d6378593f78a192f2961670f686530;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 0b020f7..8c3a8d1 100644 --- a/Test.obn +++ b/Test.obn @@ -1,11 +1,18 @@ MODULE Test; -IMPORT - Out, - System; +IMPORT Out; + +VAR + msg : ARRAY 20 OF CHAR; BEGIN Out.Open; - Out.String("Hello World!"); Out.Ln; - System.Halt(1); + 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.