摘要: for i = 1,10 do repeat if i == 5 then break end print(i) until trueendprint("----------------------------------")function foo(i, max) if i == 5 then return foo(6, max) -- continue to i=6 end print(i) if i == max then return else return foo(i+1, max) endendfoo(1, 10) 阅读全文
posted @ 2013-02-26 15:43 byfei 阅读(250) 评论(0) 推荐(0) 编辑