Browse Source

* fix range check error with cardinal-longint

peter 21 years ago
parent
commit
739a37c29d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/tbs/tb0191.pp

+ 2 - 2
tests/tbs/tb0191.pp

@@ -25,8 +25,8 @@
 
 
  begin
  begin
   //init the array
   //init the array
-  for i:=0 to 299
-      do werte[i]:=Random(5)-2;
+  for i:=0 to 299  do
+    werte[i]:=random(5);
 
 
   //and do something with it
   //and do something with it
   writeln(erwwert(werte):6:5);
   writeln(erwwert(werte):6:5);