[fpc-pascal] Bug in documentation for Random?

Bart bartjunk64 at gmail.com
Wed Apr 5 18:55:07 CEST 2017


http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Random

"random returns a random number between 0 and abs(num-1)"

IIUC, then Random() shoud always return a positive number.

Bart



More information about the fpc-pascal mailing list