That was an example.. if you expect an array to hold LESS THAN 500 elements, you can Dim it to 500 and feel safe. It's a common method - overstate your required array size, but any unexpected condition can overload your array and cause an error.

Lonk's method is good for smaller arrays because you need to deal with potential string limits (especially in other languages!). It also can't accommodate Arrays of Arrays, although this is less common.

The second method that I illustrated is usually preferred because it can accommodate any data type in the array, and doesn't result in bound errors if your data exceeds your expectation.

Glenn (with 2 "N"'s and 1 "e"! \:D
_________________________
Actually I am a Rocket Scientist! \:D