loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • Lua goto
  • 離開本站
你即將離開本站

並前往https://qastack.cn/programming/3524970/why-does-lua-have-no-continue-statement

为什么Lua没有“继续”声明? - QA Stack

在Lua 5.2中,最好的解决方法是使用goto: -- prints odd numbers in [|1,10|] for i=1,10 do if i % 2 == 0 then goto continue end print(i) ::continue:: end.

確定! 回上一頁

查詢 「Lua goto」的人也找了:

  1. Lua goto
  2. Lua 5.1 goto
  3. Lua i
  4. Lua腳本
  5. Lua __index
  6. Lua while
  7. Lua 字串長度
  8. Lua print

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿