Hi all,
i have a small problem,
I want to call a sub routine, and within that sub i have a Integer that I would like to increment every time I use the sub.
'variables have been declared outside the sub
Dim Arr(200) As Integer
Dim count As New Integer
Private Sub updatestatus(ByVal wipid As Integer)
Arr(count) = wipid
count += 1
Lbl_Count.Text = count
End Sub
what i am trying to do is make a array that gets populated every time the sub is called
i have a small problem,
I want to call a sub routine, and within that sub i have a Integer that I would like to increment every time I use the sub.
'variables have been declared outside the sub
Dim Arr(200) As Integer
Dim count As New Integer
Private Sub updatestatus(ByVal wipid As Integer)
Arr(count) = wipid
count += 1
Lbl_Count.Text = count
End Sub
what i am trying to do is make a array that gets populated every time the sub is called