Re: Random Numbers


[Prev][Next][Index][Thread]

Re: Random Numbers



Why don't you just get a small random number and then multiply it by an
appropriate factor to get a number between 1 and 63?
Matt Maurano wrote in message <33f79539.4062169@nntp.best.com>...
>I need a random set of coordinates anywhere on the screen (In
>82-assembly). Basically, I need a random number function that will
>return a number between 1 and 93. It shouldn't be too hard to modify
>the code to get a number between 1 and 63 after we get the x
>coordinate. The only random number functions I've seen either don't
>work, or only work with small values (<15). Any help?


Follow-Ups: References: