diff --git a/Test.obn b/Test.obn
index 8c3a8d1458efc80ddf4837c106b664b70a3abfae..0bad0ad763fe3b298b127518a3af3fbc2e878678 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT Out;
+IMPORT SYSTEM;
VAR
- msg : ARRAY 20 OF CHAR;
+ ptr : SYSTEM.PTR;
+ arr : POINTER TO ARRAY OF INTEGER;
BEGIN
- Out.Open;
- COPY("Hello World!", msg);
- Out.String(msg); Out.Ln;
- COPY("Hell!", msg);
- Out.String(msg); Out.Ln;
- COPY("The quick brown fox jumps over the lazy dog", msg);
- Out.String(msg); Out.Ln;
- msg := "Hello World!";
- Out.String(msg); Out.Ln;
+ NEW(arr, 20);
+ ptr := arr;
END Test.