Hi Get the seed from a timer value. It makes rnd# generation much better. I had to implement it in a toy and it works really well. Tim At 17:17 13/05/97 +0000, you wrote: >I need a routine that returns a random number to implement something similar >to CSDMA/CD. I need it to make a random wait time after a collision, i've >seem some routines but how do i get different seeds to inicialize the >routine ? > >Thanks, >Antonio Almeida > ------------------------------------------------------------------ Personal Web Pages: http://web.ukonline.co.uk/members/tim.kerby/ PIC Site: http://web.ukonline.co.uk/members/tim.kerby/pic/ The PIC Pages are under construction and I am looking for projects ------------------------------------------------------------------