Re: A83: Random Number


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

Re: A83: Random Number




what?
whats the hieghest it can go?

is there anbyway i can make it higher?
i am going to need even higher numbers in my upcoming prog

like random numbers in between 16000-20000


>From: "D Weiss" <dwedit@hotmail.com>
>Reply-To: assembly-83@lists.ticalc.org
>To: assembly-83@lists.ticalc.org
>Subject: Re: A83: Random Number
>Date: Mon, 05 Jun 2000 15:16:24 CDT
>
>
>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
>
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com