This repository demonstrates a subtle bug in VBScript related to how arrays are handled when passed as function parameters. The issue arises when an array is not explicitly dimensioned using the Dim ...
So this is what I am trying to do. This code needs to run using Windows Scripting Host so I believe it can be either VBScript of JScript. I am more familiar with VB, so thats what I use. I am not sure ...
' We are using the same name a for two different things: ' a = Array(...) → Here, a is an array. ' For a = ... → Here, a becomes a number (used as a counter in the loop). ' This causes a problem: once ...
I'm trying to load a database into a 2D array and not having any luck. I've been working off snippets of code I've found here and there so I may be doing it all wrong. I can grab multiple fields from ...