X-Git-Url: http://deadsoftware.ru/gitweb?p=dsw-obn.git;a=blobdiff_plain;f=Test.obn;h=0f09bade1d5103f0fca051137c9cc8b9dd5656e5;hp=8c3a8d1458efc80ddf4837c106b664b70a3abfae;hb=0b724e12457f2507d398c51dc35200d833ce9362;hpb=9f8036eb00032fa7f756113365cb42e05ab262df diff --git a/Test.obn b/Test.obn index 8c3a8d1..0f09bad 100644 --- a/Test.obn +++ b/Test.obn @@ -1,18 +1,13 @@ MODULE Test; -IMPORT Out; +IMPORT CPStrings, Out; VAR - msg : ARRAY 20 OF CHAR; + s : ARRAY 80 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; + CPStrings.IntToString(123456789, s); + Out.String(s); Out.Ln; + CPStrings.RealToString(321.123456, s); + Out.String(s); Out.Ln; END Test.