Next (statement): Difference between revisions
Jump to navigation
Jump to search
(Created page with "The '''Next''' (N)statement works in conjunction with the For statement to form a loop. Next calculates the next numeric variable and runs a loop test to determine whe...") |
No edit summary |
||
Line 1: | Line 1: | ||
The '''Next''' (N)[[statement]] works in conjunction with the [[For]] statement to form a loop. Next calculates the next numeric variable and runs a loop test to determine whether or not execution of the loop should continue. | The '''Next''' (N) [[statement]] works in conjunction with the [[For]] statement to form a loop. Next calculates the next numeric variable and runs a loop test to determine whether or not execution of the loop should continue. | ||
===Comments and Examples=== | ===Comments and Examples=== |
Revision as of 18:57, 23 July 2013
The Next (N) statement works in conjunction with the For statement to form a loop. Next calculates the next numeric variable and runs a loop test to determine whether or not execution of the loop should continue.
Comments and Examples
If the value of the numeric variable remains within the specified boundaries (as indicated in the For statement), the loop is re-executed. If it is not within the specified boundaries, control passes to the first executable statement after Next.
Syntax
Parameter
"Numeric variable" must be the same numeric variable that is listed in the corresponding For statement.