This command will move the internal array index to the next logical item. When the index reaches the end of the array, the ARRAY INDEX VALID() command will return a zero.

Syntax: 
NEXT ARRAY INDEX Array Name(0)