X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=0f09bade1d5103f0fca051137c9cc8b9dd5656e5;hb=0b724e12457f2507d398c51dc35200d833ce9362;hp=03df037492a62bec8642dbd45bd9a5ec5f2cc689;hpb=b09b4829b70cf34a470003286ea100663d7fe442;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 03df037..0f09bad 100644 --- a/Test.obn +++ b/Test.obn @@ -1,12 +1,13 @@ MODULE Test; +IMPORT CPStrings, Out; + VAR - x : ARRAY 10 OF INTEGER; - p : POINTER TO ARRAY OF ARRAY OF INTEGER; + s : ARRAY 80 OF CHAR; BEGIN - NEW(p, 20, 30); - ASSERT(LEN(x, 0) = 10); - ASSERT(LEN(p^, 0) = 20); - ASSERT(LEN(p^, 1) = 30); + CPStrings.IntToString(123456789, s); + Out.String(s); Out.Ln; + CPStrings.RealToString(321.123456, s); + Out.String(s); Out.Ln; END Test.