X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=67a35e4ef616fb5f76e91b2f1cf9a5b60eb0ffbc;hb=ba1a55241f3841d1254317d76d45322c85fb687b;hp=8c3a8d1458efc80ddf4837c106b664b70a3abfae;hpb=9f8036eb00032fa7f756113365cb42e05ab262df;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 8c3a8d1..67a35e4 100644 --- a/Test.obn +++ b/Test.obn @@ -2,17 +2,13 @@ MODULE Test; IMPORT Out; -VAR - msg : ARRAY 20 OF CHAR; - 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; + Out.String("A"); + Out.Char("A"); + Out.Ln; + ASSERT("A" = 041X); + ASSERT(041X = "A"); + ASSERT(ORD("A") = 041H); + ASSERT(041H = ORD("A")); + ASSERT("A" = "A"); END Test.