Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Randomize StatementThis standard VB statement seeds the random number generator. SyntaxReturnsUsageIf no number argument is given, Siebel VB uses the Timer function to initialize the random number generator. ExampleThis example generates a random string of characters using the Randomize statement and Rnd function. The second For...Next loop is to slow down processing in the first For...Next loop so that Randomize can be seeded with a new value each time from the Timer function. Sub Button_Click See Also |
Siebel VB Language Reference |