X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=0f09bade1d5103f0fca051137c9cc8b9dd5656e5;hb=0b724e12457f2507d398c51dc35200d833ce9362;hp=4f539100d6439b048d2ea9800b769c3be98a24a2;hpb=496b7b4a5162004e33dfd3328aee7d155342f09f;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 4f53910..0f09bad 100644 --- a/Test.obn +++ b/Test.obn @@ -1,14 +1,13 @@ MODULE Test; -IMPORT Out; +IMPORT CPStrings, Out; VAR - f : BOOLEAN; - r, e : POINTER TO RECORD END; + s : ARRAY 80 OF CHAR; BEGIN - f := r = e; - IF f THEN - Out.String('Yes'); Out.Ln; - END; + CPStrings.IntToString(123456789, s); + Out.String(s); Out.Ln; + CPStrings.RealToString(321.123456, s); + Out.String(s); Out.Ln; END Test.