[red]<%
Function rndDgts(intLoop)
Dim rndNum, maxValue, i, x, c
Redim rndNum(intLoop)
maxValue = 35
Randomize
For i = 1 To intLoop
rndNum(i) = Int(Rnd * maxValue)+1
For x = 1 To i-1
If rndNum(x) = rndNum(i) Then
i=i-1
End If
Next
Next
For c = 1 To intLoop
rndDgts = rndDgts & rndNum(c) &"<br>"
Next
End Function
'// Skriv ut..
Response.Write rndDgts(7)
%>[/red]
247 ms totalt · 4 externa anrop · v20260731065814-full.a51de22e