M
Mike
Hi,
I created such procedure for deleting element from my dynamic array
because I could not find such possibility from .Net .
Private aintABC() As Int32
'' Initialization somewhere in another procedure
Private Sub DeleteFromArray(ByVal intIndex As Integer)
Dim i As Integer
For i = intIndex + 1 To aintABC.Length - 1
aintABC(i - 1) = aintABC(i)
Next
ReDim Preserve aintABC(aintABC.Length - 2)
End Sub
Maybe somebody know how I can do it without iteration or .Net does not
have any standart decision.
Thanks
I created such procedure for deleting element from my dynamic array
because I could not find such possibility from .Net .
Private aintABC() As Int32
'' Initialization somewhere in another procedure
Private Sub DeleteFromArray(ByVal intIndex As Integer)
Dim i As Integer
For i = intIndex + 1 To aintABC.Length - 1
aintABC(i - 1) = aintABC(i)
Next
ReDim Preserve aintABC(aintABC.Length - 2)
End Sub
Maybe somebody know how I can do it without iteration or .Net does not
have any standart decision.
Thanks