SOLVED

Can't figure out a subscript error (simple arry)

Brass Contributor

I'm going crazy. I'm getting a subscript out of range error and can't figure out why. 

In the coding example below are two example of creating, filling and referencing an array. They look the same to me ... but the 2nd one blows up. What am I not seeing?

JBF_54_0-1585504268676.png

 

1 Reply
best response confirmed by JBF_54 (Brass Contributor)
Solution

@JBF_54 

 

Found the problem ... variant arrays are always 2 dimensional, I was missing one of the subscripts.

 

1 best response

Accepted Solutions
best response confirmed by JBF_54 (Brass Contributor)
Solution

@JBF_54 

 

Found the problem ... variant arrays are always 2 dimensional, I was missing one of the subscripts.

 

View solution in original post