Randomize Statement [Runtime]/text/sbasic/shared/03080301.xhpRandomize statementRandomize Statement [Runtime]Initializes the random-number generator.Syntax:Randomize [Number]Parameters:Number: Any integer value that initializes the random-number generator.Example:Sub ExampleRandomizeDim iVar As Integer, sText As StringDim iSpectral(10) As IntegerRandomize 2^14-1For iCount = 1 To 1000iVar = Int((10 * Rnd) ) REM Range from 0 to 9iSpectral(iVar) = iSpectral(iVar) +1Next iCountsText = " | "For iCount = 0 To 9sText = sText & iSpectral(iCount) & " | "Next iCountMsgBox sText,0,"Spectral Distribution"end sub