Skips to the next iteration of a loop
nextcommand is valid in any for or while loop.
nextterminates the current iteration of the loop and starts the next iteration. When a
nextstatement executes, JPL skips all subsequent statements until the end of the loop. If the loop is controlled by a
forstatement, JPL increments the loop's step value. It then tests the loop condition; if the condition evaluates to true, JPL executes the
continuestatement in C.
// Process all the engineers in a list of people.
for k = 1 while job[k] != "" step 1
if job[k] != "engineer"
//process mailing label for engineers...
break, for, while