diff --git a/Test.obn b/Test.obn
index fa347cddf19074ac48f9ac84d99c4993074f5aef..0f09bade1d5103f0fca051137c9cc8b9dd5656e5 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT Files, Out;
+IMPORT CPStrings, Out;
VAR
- f : Files.File;
- r : Files.Rider;
- len : LONGINT;
- x : POINTER TO ARRAY OF CHAR;
+ s : ARRAY 80 OF CHAR;
BEGIN
- f := Files.Old("Test.obn");
- ASSERT(f # NIL);
- Files.Set(r, f, 0);
-
- len := Files.Length(f);
- NEW(x, len + 1);
-
- Files.ReadBytes(r, x, len);
- Out.String(x^); Out.Ln;
+ CPStrings.IntToString(123456789, s);
+ Out.String(s); Out.Ln;
+ CPStrings.RealToString(321.123456, s);
+ Out.String(s); Out.Ln;
END Test.