@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The srand function sets the starting point for generating a series of pseudorandom integers. To reinitialize the generator, use 1 as the seed argument. Any other value for seed sets the generator to a random starting point. rand retrieves the pseudorandom numbers that are generated. Calling rand before any call to srand generates the same sequence as calling srand with seed passed as 1. !!!!VB Signature: <DllImport("msvcrt")> Shared Sub _ srand(ByVal seed As Integer) End Sub !!!!User-Defined Types: None. !!!!Alternative Managed API: New Random(Seed As Integer) !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: srand@msdn on MSDN
Edit msvcrt.srand
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.