DEADSOFTWARE

Поправлен hardcast int <-> real
[dsw-obn.git] / Test.obn
index 0b020f71a79862e5a3510e07528b982ea6a21749..d232953a80d3259d11c1a1987e2bd14d3a4c415c 100644 (file)
--- a/Test.obn
+++ b/Test.obn
@@ -1,11 +1,14 @@
 MODULE Test;
 
-IMPORT
-  Out,
-  System;
+IMPORT SYSTEM, Out;
+
+TYPE
+  R = RECORD END;
+
+VAR
+  i : INTEGER;
+  l : LONGINT;
 
 BEGIN
-  Out.Open;
-  Out.String("Hello World!"); Out.Ln;
-  System.Halt(1);
+  i := SYSTEM.VAL(INTEGER, l);
 END Test.