diff --git a/Test.obn b/Test.obn
index 8c3a8d1458efc80ddf4837c106b664b70a3abfae..67132268d6a753e3cfdc990ac2dec0eaed6e1670 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT Out;
-
VAR
- msg : ARRAY 20 OF CHAR;
+ i : INTEGER;
+ f : REAL;
+ d : LONGREAL;
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;
+ i := 5 DIV 3;
+ f := 5 / 3;
+ d := 5 / 3.0;
+ d := 5 / 3.0D0;
END Test.