This function (Push) simply adds an element to an array.
by Tom van den Broek (2 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 19th July 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This function (Push) simply adds an element to an array.
Rate This function (Push) simply adds an element to an array.
ReDim Preserve arrayname(UBound(arrayname) + 1)
arrayname(UBound(arrayname) - 1) = element
End Sub
Download this snippet
Add to My Saved Code
This function (Push) simply adds an element to an array. Comments
No comments have been posted about This function (Push) simply adds an element to an array.. Why not be the first to post a comment about This function (Push) simply adds an element to an array..
Post your comment