Tickyy
2014-06-27 08:39:46
program new;
var
i:integer;
begin
Repeat
i:=randomrange(0, 1)
Writeln(inttostr(i));
wait(200);
until(false);
end.A RandomRange between 0 and 1, isn't it supposed to include 1 aswell? because this returns 0s only. It never includes the last digit of the range for example (1, 100), 100 never appears.
or is this just how randomrange is supposed to work?