Re: A83: Random Number


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

Re: A83: Random Number




Yes, that works, but A can't go that high :)

>so this would be my code?
>
>	ld a,1000  ;upper boundry
>	ld b,100   ;lower boundry
>	sub b
>	call ionRandom
>	add a,b
>
>ythat wuld leave "a" being my random number?
>
>
>>From: Mike3465@aol.com
>>Reply-To: assembly-83@lists.ticalc.org
>>To: assembly-83@lists.ticalc.org
>>Subject: Re: A83: Random Number
>>Date: Mon, 5 Jun 2000 15:26:26 EDT
>>
>>
>>heres a way to do that
>>take your max number, subtract that by your min number, find the rand
>>number,
>>then just add your min number and theres your answer
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com