Continue » History » Version 2
Per Amundsen, 02/16/2023 02:08 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | */continue* |
||
| 4 | |||
| 5 | Use to continue a loop in scripts. |
||
| 6 | 2 | Per Amundsen | |
| 7 | *Example* |
||
| 8 | |||
| 9 | <pre> |
||
| 10 | var %s 0 |
||
| 11 | while (%s < 10) { |
||
| 12 | if (%s == 5) { |
||
| 13 | ; skip if %s is 5 |
||
| 14 | continue |
||
| 15 | } |
||
| 16 | |||
| 17 | echo -ag s is %s |
||
| 18 | } |
||
| 19 | </pre> |