diff --git a/Test.obn b/Test.obn
index fa347cddf19074ac48f9ac84d99c4993074f5aef..950aa0a9ca7e9993974152c16cfff3bc01beb0fc 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT Files, Out;
+IMPORT Out;
+
+TYPE
+ Name = ARRAY 16 OF CHAR;
VAR
- f : Files.File;
- r : Files.Rider;
- len : LONGINT;
- x : POINTER TO ARRAY OF CHAR;
+ key : ARRAY 128 OF Name;
+ name : Name;
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;
+ IF name > name THEN Out.Ln; END;
END Test.