diff --git a/Test.obn b/Test.obn
index fa347cddf19074ac48f9ac84d99c4993074f5aef..67a35e4ef616fb5f76e91b2f1cf9a5b60eb0ffbc 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT Files, Out;
-
-VAR
- f : Files.File;
- r : Files.Rider;
- len : LONGINT;
- x : POINTER TO ARRAY OF CHAR;
+IMPORT Out;
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;
+ Out.String("A");
+ Out.Char("A");
+ Out.Ln;
+ ASSERT("A" = 041X);
+ ASSERT(041X = "A");
+ ASSERT(ORD("A") = 041H);
+ ASSERT(041H = ORD("A"));
+ ASSERT("A" = "A");
END Test.