>>487
そのまま書けばいいってもんでもないけどこうなる

for i=1 to n
while true
一定の作業
if 失敗 break
wend
特定の操作
next
while true
一定の作業
if 失敗 break
wend