Int i Bool bLoop = true ; 最大で100回繰り返す ; ただし、途中で処理が失敗したら直ちに終了する while i < 100 && bLoop if SomeFunction() i += 1 else bLoop = false endif endwhile