statement/NEXT                                                 statement/NEXT
 
 NAME
     NEXT -- Completes a FOR loop
 
 ABBREVIATION
     n <shift> E

 SYNOPSIS
     NEXT [<variable>[,<...>,<variable>]]

 FUNCTION
     The NEXT statement is used with the FOR statement. When the computer 
     encounters a NEXT statement, it goes back to the corresponding FOR 
     statement and check the loop variable. If the loop is finished, 
     execution proceeds with the statement after the NEXT statement. The word
     NEXT may be followed by a variable name, a list of variable names 
     separated by commas, or no variable names. If there are no names listed,
     the last loop started is the one being completed. If the variables are 
     given, they are completed in order from left to right.
 
 INPUTS
     <variable> - name of the FOR loop variable
 
 RESULT
     Causes computer to go back to the corresponding FOR statement and check 
     the FOR loop variable. Depending on loop variable value NEXT either 
     exits the loop or repeats it once more.

 EXAMPLES
     10 FOR L=1 TO 10:NEXT
     20 FOR L=1 TO 10:NEXT L
     30 FOR L=1 TO 10:FOR M=1 TO 10:NEXT M,L
 
 NOTES
     None
 
 BUGS
     None
 
 SEE ALSO
     FOR