|
Web+ Tutorial
|
Lesson 4.4 - Looping (webWhile...webExitWhile)
- Description
- Repeats a group of instructions while a given condition is true.
- Syntax
<webWhile #condition#></webWhile>
- Example
<webSet #counter# = 0> <webWhile #counter Lt 10#><webPrint>#counter#</webPrint> <webSet #counter# = #counter + 2#> </webWhile>
- Exercise
-
You can try out some Web+ code of your own here.
|
|