X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=950aa0a9ca7e9993974152c16cfff3bc01beb0fc;hb=0c29ba1953327a9b476a825d8b9b9d185d544972;hp=8c3a8d1458efc80ddf4837c106b664b70a3abfae;hpb=9f8036eb00032fa7f756113365cb42e05ab262df;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 8c3a8d1..950aa0a 100644 --- a/Test.obn +++ b/Test.obn @@ -2,17 +2,13 @@ MODULE Test; IMPORT Out; +TYPE + Name = ARRAY 16 OF CHAR; + VAR - msg : ARRAY 20 OF CHAR; + key : ARRAY 128 OF Name; + name : Name; 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; + IF name > name THEN Out.Ln; END; END Test.