VB Code:
  1. Private Sub Command1_Click()
  2.     Dim y(200) As Integer
  3.     Dim counter As Integer
  4.     Dim i As Integer
  5.    
  6.     'fill array
  7.     Do While counter <= 200
  8.         y(counter) = counter * Rnd
  9.         counter = counter + 1
  10.     Loop
  11.    
  12.     'show whats in the array
  13.     For i = 0 To UBound(y)
  14.         Debug.Print y(i)
  15.     Next i
  16. End Sub