mqscript_for
Generate For loop structures in MQScript for mobile automation, allowing repeated execution of code blocks with customizable start, end, and step values.
Instructions
Create a For loop structure
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | No | Loop body code (optional) | // Loop body |
end | Yes | End value | |
start | No | Start value | |
step | No | Step size | |
variable | No | Loop variable name | i |
Input Schema (JSON Schema)
{
"properties": {
"body": {
"default": " // Loop body",
"description": "Loop body code (optional)",
"type": "string"
},
"end": {
"description": "End value",
"type": "number"
},
"start": {
"default": 1,
"description": "Start value",
"type": "number"
},
"step": {
"default": 1,
"description": "Step size",
"type": "number"
},
"variable": {
"default": "i",
"description": "Loop variable name",
"type": "string"
}
},
"required": [
"end"
],
"type": "object"
}