Hello everyone,

I know that the randomrange call from the Irvine library reads from EAX. Whatever number is in EAX is the max it can be.

My question is...How do you set a min value for the range? Like if I wanted the range of random numbers to be 1-6 how would I do that?

Thanks in advance...

-Mallard

I know that the randomrange call from the Irvine library reads from EAX. Whatever number is in EAX is the max it can be.

My question is...How do you set a min value for the range? Like if I wanted the range of random numbers to be 1-6 how would I do that?

Thanks in advance...

-Mallard

subtract the min from the maxrange, do the call, then add the min to the result .. this is called rebasing, its annoying huh, nice if the function took min too