Page 1 of 1

rnd ranges to arrays (ruby)

Posted: Wed Jan 01, 2014 6:38 pm
by tester
How to remake it so that randomization accepts individual ranges?

My first thought was, that it should accept equal-sized arrays of min/max ranges, but it appears - not.

Re: rnd ranges to arrays (ruby)

Posted: Wed Jan 01, 2014 10:15 pm
by tester
Hmm... I think, I... found it?

Re: rnd ranges to arrays (ruby)

Posted: Thu Jan 02, 2014 12:00 am
by RJHollins
Don't know if I'm seeing the correct results ...

the MAXVal seems to be ignored ??

Re: rnd ranges to arrays (ruby)

Posted: Thu Jan 02, 2014 2:26 am
by tester
Works here fine, or I'm blind?

Everything seems to be in ranges, but it's 2.30 a.m. in the night. Can you post a picture?