VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Pop deletes one specific element from an array.

by Tom van den Broek (2 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Fri 8th September 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Pop deletes one specific element from an array.

Rate Pop deletes one specific element from an array.




Dim tmparray() As String
Dim counter As Integer

ReDim tmparray(0) As String

For counter = 0 To UBound(iArr)
    If (counter <> iPos) And (Trim(key_tab(counter)) <> "") Then
        Call push(iArr(counter), tmparray)
    End If
Next

ReDim iArr(UBound(tmparray)) As String
    
For counter = 0 To UBound(tmparray)
    iArr(counter) = tmparray(counter)
Next

End Sub

Download this snippet    Add to My Saved Code

Pop deletes one specific element from an array. Comments

No comments have been posted about Pop deletes one specific element from an array.. Why not be the first to post a comment about Pop deletes one specific element from an array..

Post your comment

Subject:
Message:
0/1000 characters