AutoIt:ループ構造



Autoit Loop Structure



のために…次へ

#cs---------------------------------- Grammar description For <Control variable> = <Initial value> To <end value> [Step <Step size>] Loop body statement ... Next #ce---------------------------------- For $i = 3 to 1 Step -1 MsgBox(0, 'For...Next', $i) Next

一方…WEnd

#cs---------------------------------- Grammar description While <Loop control expression> Loop body statement ... WEnd #ce---------------------------------- $i = 0 While $i <= 3 MsgBox(0, 'While...WEnd', $i) $i = $i + 1 WEnd

やる…まで

#cs---------------------------------- Grammar description Do Loop body statement ... Until <Loop control expression> #ce---------------------------------- $i = 0 Do MsgBox(0, 'DO...Until', $i) $i = $i + 1 Until $i = 3