Explorar el Código

* constant ordinal type

peter hace 21 años
padre
commit
8004c68a42
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  1. 11 0
      tests/tbs/tb0473.pp

+ 11 - 0
tests/tbs/tb0473.pp

@@ -0,0 +1,11 @@
+const
+  w = $5000;
+begin
+  writeln(hi(w));
+  if hi(w)<>$50 then
+    begin
+      writeln('Error!');
+      halt(1);
+    end;  
+end.
+