X-Git-Url: http://deadsoftware.ru/gitweb?p=dsw-obn.git;a=blobdiff_plain;f=Test.obn;h=0f09bade1d5103f0fca051137c9cc8b9dd5656e5;hp=363783e2baa8fa206a03e87c99ad827c66b77d6d;hb=0b724e12457f2507d398c51dc35200d833ce9362;hpb=9e17ac5ff506785891f06e3beeba66185fc7f867 diff --git a/Test.obn b/Test.obn index 363783e..0f09bad 100644 --- a/Test.obn +++ b/Test.obn @@ -1,17 +1,13 @@ MODULE Test; -TYPE - R1 = RECORD END; -(* R2 = RECORD (R1) END; *) - R3 = RECORD END; +IMPORT CPStrings, Out; VAR -(* - a : R1; - b : R2; -*) - c : R3; + s : ARRAY 80 OF CHAR; BEGIN -(* a := b; *) + CPStrings.IntToString(123456789, s); + Out.String(s); Out.Ln; + CPStrings.RealToString(321.123456, s); + Out.String(s); Out.Ln; END Test.