I have no idea how to resolve this problem:

C

Chuck Insight

Someone Please Help Me For Real.

<Script runat="server">
Public Overridable Sub Pop()
Dim I As Integer
Dim Ball As Integer
Dim Mark As Integer = 0
Dim SL As SortedList = New SortedList()
For I = 1 To 300
on error resume next
randomize
Ball = (int(rnd*48)+1)
SL.Add,(Ball, Mark)
Next I
End Sub
</Script>

This script returns the following error:
Argument not specified for parameter 'key' of 'Public Overridable Sub Add(key As Object, value As Object)'.

Thanks in advance for your help,
Chuck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,434
Messages
2,571,689
Members
48,796
Latest member
Greg L.

Latest Threads

Top