Open afeldspar opened 9 years ago
This looks like it is even closer to the problem I was running into (and the solution): http://stackoverflow.com/questions/9815083/vbscript-create-an-array-in-function-based-on-parameter
How did I not know that you can declare an array to be dynamic from the start by declaring it with "Redim"??
How did I not know that you can declare an array to be dynamic from the start by declaring it with "Redim"??
Because apparently, you can't. Here's yet another guide to what you can or can't do; let's hope this one is more accurate: https://technet.microsoft.com/en-us/library/ee198862.aspx
Creating arrays in VBScript is more difficult than I remembered. This page provides some promising approaches to neaten the code: http://windowsitpro.com/article/vbscript/understanding-vbscript-arrays-5627