The ForListDo command enables you to create a loop for repeating a set of commands on the items of a list. Within the body of the loop, the notation $($) refers to the current list item. The notation $(#) refers to the position of the current item in the list, beginning with one. You cannot use a goto statement within a ForListDo loop to jump to a location outside the loop. Similarly, an if/endif block cannot straddle a loop boundary.
ForListDo List
.
.
.
EndForListDo