While: Difference between revisions
From MultiCharts
m
→Notes
No edit summary |
m (→Notes) |
||
Line 17: | Line 17: | ||
== Notes == | == Notes == | ||
* [[Begin]] should not be followed by a semicolon (;), code lines within an instruction group should end with a semicolon (;), and [[End]] should be followed by a semicolon (;). | * [[Begin]] should not be followed by a semicolon (;), code lines within an instruction group should end with a semicolon (;), and [[End]] should be followed by a semicolon (;). | ||
* | * Important: if the loop doesn't contain code that will cause the logical expression to evaluate to false, you'll be stuck in an ''infinite loop'', which will cause MultiCharts to freeze. For example, the code below '''is not correct''': | ||
<syntaxhighlight> | <syntaxhighlight> | ||
while (value1 < 10) begin | while (value1 < 10) begin |