mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:29:21 +02:00
* fix range check error with cardinal-longint
This commit is contained in:
parent
dc67ea9d52
commit
739a37c29d
@ -25,8 +25,8 @@
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
//init the array
|
//init the array
|
||||||
for i:=0 to 299
|
for i:=0 to 299 do
|
||||||
do werte[i]:=Random(5)-2;
|
werte[i]:=random(5);
|
||||||
|
|
||||||
//and do something with it
|
//and do something with it
|
||||||
writeln(erwwert(werte):6:5);
|
writeln(erwwert(werte):6:5);
|
||||||
|
Loading…
Reference in New Issue
Block a user