I print the elements of my array to the screen.
The array is declared as having 100 elements, but rarely actually has that many. I want a for next loop for the actual elements in the array. I tried:
for x = 0 to len(myArray)
response.write myArray(x)
next
OR
for each item in myArray
response.write myArray(item)
next
These does not work.
How can I do this?
The array is declared as having 100 elements, but rarely actually has that many. I want a for next loop for the actual elements in the array. I tried:
for x = 0 to len(myArray)
response.write myArray(x)
next
OR
for each item in myArray
response.write myArray(item)
next
These does not work.
How can I do this?