To call for example Ubound for a dynamic array that hasn't been initialized causes an error. Is there a way to check first for that?

example:


dim intArray() as integer

debug.print ubound(intArray) '---> error

thx,

Helger