Next (statement)

From BR Wiki
Revision as of 21:39, 23 January 2013 by Laura (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.