$next list item
From UBot Studio
(Difference between revisions)
Line 8: | Line 8: | ||
$next list item function: | $next list item function: | ||
− | [[File:nextlistitem. | + | [[File:nextlistitem.png]] |
Revision as of 23:45, 9 October 2012
This function retrieves the next item in a list. Lists have internal position counters to keep track of where you are.
This function will return the list item at the list's current position, and then increment the list's position by one. This function is the easiest way to loop through a list sequentially (from position 0 to the end of the list). Given a list containing the numbers 1-25, we will loop through the list using the $next list item function: