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,103 of 68,980   
   R.Wieser to All   
   Re: %random% is not random?   
   22 Oct 23 07:31:30   
   
   From: address@is.invalid   
      
   Herbert,   
      
   > That would only mean, that all CMD startet in the same second   
   > will have the same random number sequence.   
      
   Thats the problem the poster "Val" started with : "Two consoles are opened   
   and both contain the same number, 4645."   Also see the "-- OUTPUT 1 --"   
   list.   
      
   > But a cmd startet a few seconds later should start with a completely   
   > different value.   
      
   Not /completely/ different (your initial problem), but different enough to   
   create a different sequence.   
      
   > So as a work around, always discard the first %random%   
   > value.   
      
   That will work for your initial problem.   
      
   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