[thelist] ASP: checking for empty array

Warden, Matt mwarden at odyssey-design.com
Thu Apr 12 19:49:35 CDT 2001


Dim arrYes(0)

arrYes(0) = "value"

> if UBound(arrYes) > 0 then
> ...blah blah...
> end if



arrYes is a valid array here, yet it fails the above test.

this one's got me stumped and had me scouring
http://msdn.microsoft.com/scripting

Didn't find a test for an empty array.



--
mattwarden
mattwarden.com





More information about the thelist mailing list