Re: A86: Random numbers...


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

Re: A86: Random numbers...




to display an op register:

 call _dispop1

or

 ld a,18
 call _formreal	;converts number in op1 to string in op3
 ld hl,_op3
 call _vputs		;or _puts

-josh

On Tue, 16 Mar 1999 15:39:23 -0600 (CST) VDrago@ix.netcom.com writes:
>
>does anyone have a routine that will allow me to randomly generate 
>numbers, with a 
>lower and upper bound?
>ive tried using the _randint call and its equate, but i can figure out 
>how to use OP1, 
>and OP2.
>Ive been able to set them...but as for displaying them, i havent been 
>able to do that.
>
>any ideas?
>
>
>--------------------------------------------------
>Auto Signurature:
>Derrick Lewis a.k.a. Vyyk Drago
>
>Council member in the TSF Jedi Knight Clan.
>http://tsf.cjb.net
>
>Also part-time webmaster of DragoonSoft.
>http://dragoon.cyberscript.net
>
>Email: VDrago@ix.netcomc.om
>ICQ: 10310623
>AOL IM: Cheetor990
>--------------------------------------------------
>
>

___________________________________________________________________
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/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]