>
> How to generate rand (random number) between two numbers?
> I mean not between 0 and some number. It should be between some number (n=
ot 0) and some number.

def range_rand(min=2Cmax)
=A0 min + rand(max-min)
end

This is the generally utility function I use. Throw in srand with a seed if=
 you're using it for something related to security.

Regards=2C
Chris White
http://www.twitter.com/cwgem
 		 	   		  =