Re: A82: Beginner-ish Q's
[Prev][Next][Index][Thread]
Re: A82: Beginner-ish Q's
Dines, Ash 3.1 will have a built in random number call won't it?
On Wed, 20 May 1998 03:28:11 GMT mgp4007@omega.uta.edu (Michael Pearce)
writes:
>
>>2. There was a rand discussion before I *knew* what I was doing.
>Does
>>anyone have the good rand routine? If so, can you email it to me
>>(text/UUE only)
>>
>Here is jimmy mardell's random routine:
>
>Random:
> ld b,a
> ld a,r
> add a,a
> ld hl,0
> ld d,h
> ld e,a
>RMul:
> add hl,de
> djnz RMul
> ld a,h
> ret
>
>-mike pearce
>
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
References: