mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:09:29 +02:00
* fix range check error with cardinal-longint
This commit is contained in:
parent
dc67ea9d52
commit
739a37c29d
@ -25,8 +25,8 @@
|
||||
|
||||
begin
|
||||
//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
|
||||
writeln(erwwert(werte):6:5);
|
||||
|
Loading…
Reference in New Issue
Block a user