diff --git a/Test.obn b/Test.obn
index 682b0a049b547a2b7d2497bb118f985e1492fafa..8c3a8d1458efc80ddf4837c106b664b70a3abfae 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT
- Out,
- System;
+IMPORT Out;
+
+VAR
+ msg : ARRAY 20 OF CHAR;
BEGIN
Out.Open;
- IF FALSE THEN
- Out.String("Hello World!"); Out.Ln;
- END;
- System.Halt(1);
+ 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;
END Test.