D
darrel
well, I've never used arrays and quickly finding that I'm a bit over my
head. I've hit a catch-22 in my understanding of arrays.
I have a comma delimted string that may be of any length:
2, 4, 34
To convert something to an array, it looks like I use the SPLIT command to
populate the array within for/while loop.
But the catch is that to dim an array, it looks like I need to tell it the
number of items I want to store in it to begin with.
So, I'm a bit confused, as SPLIT appears to also make an array. Can I not go
from a split function directly to an array or do I first need to count the
items to dim the array, and then populate it from the split?
-Darrel
head. I've hit a catch-22 in my understanding of arrays.
I have a comma delimted string that may be of any length:
2, 4, 34
To convert something to an array, it looks like I use the SPLIT command to
populate the array within for/while loop.
But the catch is that to dim an array, it looks like I need to tell it the
number of items I want to store in it to begin with.
So, I'm a bit confused, as SPLIT appears to also make an array. Can I not go
from a split function directly to an array or do I first need to count the
items to dim the array, and then populate it from the split?
-Darrel