[thelist] VB Array

Paul Cowan evolt at funkwit.com
Thu Jul 4 00:15:01 CDT 2002


Chris wrote
> How can I programmatically check if MyArray(4) is set?

if IsEmpty(MyArray(4)) then
    ... whatever ...
end if

should do the trick. Or maybe IsNull(). Or look at the vartype()
and typename() functions.

I like to think of myself as a bit of a VB (well... VBScript) whiz
(please, hold your applause), but I still don't get the whole
null vs. nothing vs. empty thing.

But anyway, I think IsEmpty() covers your case.

Paul.




More information about the thelist mailing list