脚本向导-帮助文档

脚本向导-帮助文档


FOR循环

<h1>功能</h1> <p>使用FOR循环可指定本次循环的次数,当执行到设定的最大范围后,退出本次循环。</p> <h1>选项</h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>类型</td> <td>【枚举】可以选择to、downto两种类型。to表示从小到大,从前(上)到后(下);down表示从大到小,从后(下)到前(上)</td> <td>to</td> </tr> </tbody> </table> <h1><strong>输入</strong></h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>到</td> <td>【整数】运行的截止整数值。</td> <td>5</td> </tr> <tr> <td>从</td> <td>【整数】运行的开始整数值。</td> <td>1</td> </tr> </tbody> </table> <h1><strong>输出</strong></h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>索引</td> <td>【整数】输出整数的变量。</td> <td>整数变量,index</td> </tr> </tbody> </table> <h1><strong>注意/说明</strong></h1> <p>1、类型to是升序,downto是降序。 2、选项类型与输入‘从-到’值要匹配,否则会不进行运行。</p> <h1>相关函数</h1> <p>FOR循环、遍历循环、条件循环</p> <h1>示例/演示</h1> <p>循环5次进行自加3操作。 <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/e735cef95c6f92095cf00ef850224a59" alt="" /></p> <h1>示例附件</h1> <p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/535de295e7666ecdb4588974a2d3a34c" title="[组件[FOR循环]_20210406.db">组件[FOR循环]_20210406.db</a></p>

页面列表

ITEM_HTML