<p>Passing an undimensioned array to the VB6's Ubound function will cause an error, so I want to check if it has been dimensioned yet before attempting to check its upper bound.  How do I do this?</p>

I found this:
```
```
Dim someArray() As Integer

If ((Not someArray) = -1) Then
  Debug.Print "this array is NOT initialized"
End If
```
```
Edit
: RS Conley pointed out in his
answer
that (Not someArray) will sometimes return 0, so you have to use ((Not someArray) = -1).