http://www.freepascal.org/docs-html/current/rtl/system/random.html "Random returns a…
Bart wrote 20 lines
I've never used negative values, so this is just a guess: random(+10)
will output numbres 0..9
random(-10)
will output numbres -9..0
so, it is equivalent to
-random(10)
