loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

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

並前往https://nanxiao.me/lua-note-16-global-and-local-variable/

Lua笔记(16)——全局变量和"local"变量 - 我的站点

执行以下Lua代码: i = 32 local i = 0 f = load("i = i + 1; print(i)") g = function () i = i + 1; print(i) end f() --> 33 g() --> 1 f()输出33 ...

確定! 回上一頁

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

  1. Lua local
  2. Lua local function
  3. Lua 變數宣告
  4. Lua腳本
  5. Lua 程式設計
  6. Lua table
  7. Lua 程式語言
  8. Lua print

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿