diff --git a/Test.obn b/Test.obn
index 8371d40d26dc72bcfbac718753e7ba1e333de80b..da60894a8f758fa1ea09b7ef7f8195caa7367b55 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT Out;
+PROCEDURE A;
+END A;
-CONST
- im1 = -1;
- bol = ~FALSE;
- set = { 1, 2, 3..6 };
- fm1 = -1.0;
- dm1 = -1.0D0;
+PROCEDURE B;
+ PROCEDURE A;
+ END A;
+END B;
-BEGIN
- Out.Open;
-
- Out.Int(im1, 0); Out.Ln;
- Out.Real(fm1, 0); Out.Ln;
- Out.LongReal(dm1, 0); Out.Ln;
-
- IF 5 IN set THEN
- Out.String("SET: Ok"); Out.Ln;
- ELSE
- Out.String("INVALID SET"); Out.Ln;
- HALT(1);
- END;
-
- IF bol THEN
- Out.String("BOOLEAN: Ok"); Out.Ln;
- ELSE
- Out.String("INVALID BOOLEAN"); Out.Ln;
- HALT(1);
- END;
END Test.