<%Dim myarrFor i = 0 To 100Randomizeno = Int((1000-1+1)*Rnd+1)For j = 0 To iIf no < myarr(j) And no < "" Thenj = j + 1ElseExit ForEnd Ifmyarr(i) = noNextIf i = 21 ThenExit ForEnd IfNext%