home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 68,110 of 68,980   
   R.Wieser to All   
   Re: %random% is not random?   
   22 Oct 23 15:23:25   
   
   From: address@is.invalid   
      
   Herbert,   
      
   > You will get 900 different values, but in the form n, n+1, n+2, n+3 ...   
      
   Thats odd, as that isn't even what "-- OUTPUT 1 --" in the link show - and   
   that is just three seconds worth.   
      
   But just lets assume that your "You will get" is right and continue :   
      
   > But if you use the second %random% value, you will see all 32768 pictures   
      
   No, you won't.   
      
   Simply said : how do you think that if you put 900 different seconds in   
   (generating 900 different first %random% results) that you than can get   
   32768 different second %random% results from those ?   
      
   > It is a bug to use the seed as the first random number!   
      
   In your particular use-case ?  Not at all.   
      
   I'm even wondering why you think you should need to use a random value to   
   begin with.   
      
   Regards,   
   Rudy Wieser   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca