This shows you the differences between two versions of the page.
ivbasic:forloop [2013/01/24 04:25] Wayne Michael |
ivbasic:forloop [2024/02/16 00:48] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | For Loop - Program Flow Control Statement - Loops from Number to MaxNumber, executing ForCode which is between the For and Next statements. To exit a For loop early, use the exitFor statement. | ||
+ | |||
+ | **Syntax:** | ||
+ | <code visualbasic> | ||
+ | For {Variable} = {Number} to {MaxNumber} | ||
+ | {ForCode} | ||
+ | Next | ||
+ | </code> | ||
+ | |||
+ | |||
+ | |||