All Forums >> [Scripting] >> WSH & Client Side VBScript >> Array element addition without an index reference? Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
some languages just allow you to perform like an array push where they just reference the array and it dumps the value at the bottom of the array with an incremented index 1 greater than the ubound of the standing array. so basically, is there a way in vbscript to just add an element to an array WITHOUT delcaring the index number in the code?
ehvbs: I just wanted to know if there was an inherent way in VBScript to accomplish this; apparently not. Also, that suggestion wasn't very helpful. If you wanted me to search for that string on the forum, it wasn't very helpful. I ended up finding some other code references on the net and slightly modified the code to produce a function to do what I was looking for. Thank you for helping gents.