Number of elements in array

Verhaagen
09-08-2003, 10:10 AM
Hello, I need to know how to get the number of elements in an array.
Like Len(), but not with a string but with an array.
Anyone who could help me out?

00100b
09-08-2003, 10:12 AM
Ubound(<arrayname>)

Thinker
09-08-2003, 10:13 AM
UBound(myArray) - LBound(myArray) + 1

Verhaagen
09-08-2003, 10:16 AM
Ok, thanks.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum