random(integer)
#2

yes. the result will be a number from 0 to n-1 (inclusive), therefore the 5 is omitted.

it might help to take the parameter as a modulus operator for easy remembering
Reply


Messages In This Thread
random(integer) - by AnonScripter - 18.01.2014, 03:00
Re: random(integer) - by Babul - 18.01.2014, 03:02
Re: random(integer) - by AnonScripter - 18.01.2014, 03:05

Forum Jump:


Users browsing this thread: 1 Guest(s)