What is the syntax to generate a random number?

<variable holding number> = (<max> - <min> + 1) * Rnd + <min>'where max is the highest value the random number can be'where min is the lowest value the random number can be'cast to Int if a non-decimal random is desired