in reply to for loop less than test ill behaved...

Refer rand.

Apply int to the value returned by rand if you want random integers instead of random fractional numbers. For example, int(rand(10)) returns a random integer between 0 and 9 , inclusive.
Bill
  • Comment on Re: for loop less than test ill behaved...