Command:/continue
This command is added by MacroQuest
Notation | Description |
---|---|
Text without brackets or braces | Required items |
<Text inside angle brackets> | Placeholder for which you must supply a value |
[Text inside square brackets] | Optional items |
Vertical bar (|) | Separator for mutually exclusive items; choose one |
{Text | inside | braces} | Set of required items; choose one |
Ellipsis (…) | Items that can be repeated |
Syntax | /continue |
---|---|
Description | Used in macro, while running, when in /for or /while loop to try the next iteration. |
Options
Examples
/for varname 1 to 5
/if ({$varname} == 3) /continue
/echo ${varname}
/next varname
/declare varname int 0
/while (${varname} < 5) {
/varcalc varname ${varname}+1
/if ({$varname} == 3) /continue
/echo ${varname}
}
Each loop will output:
1
2
3
4
5