代码搜索:Lua
找到约 9,588 项符合「Lua」的源代码
代码结果 9,588
www.eeworm.com/read/419627/10853121
lua factorial.lua
-- function closures are powerful
-- traditional fixed-point operator from functional programming
Y = function (g)
local a = function (f) return f(f) end
return a(function (f)
www.eeworm.com/read/419627/10853125
lua hello.lua
-- the first program in every language
io.write("Hello world, from ",_VERSION,"!\n")
www.eeworm.com/read/419627/10853128
lua sort.lua
-- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l
www.eeworm.com/read/272223/10965474
lua tdcooldowncount.lua
local localization = {}
if GetLocale() == "zhCN" then
localization = {
loaded = "|cff7fff7fTCC|r--|cff7fff7f太多|r冷却:插件已载入,输入/TCC进行相关设置。",
sorry = "|cff7fff7fTCC|r--|cff7fff7f太多|r冷却:设置恢复到默
www.eeworm.com/read/272223/10965486
lua tdrange.lua
local s = {}
local _, v
function tdRange_GetColor(id)
s.Range = IsActionInRange(id) == 0 and true or nil
s.Usable, s.Mana= IsUsableAction(id);
s.Usable = not s.Usable
for _, v in ipairs(tC
www.eeworm.com/read/271704/10983169
dll lua.dll
www.eeworm.com/read/271704/10983209
lib lua.lib
www.eeworm.com/read/416056/11043122
lua test.lua
www.eeworm.com/read/458000/7314387
lua premake.lua
----------------------------------------------------
-- The main porpouse of this file is to build linux gcc makefiles.
-- Must have Premake version 3 installed.
-- Original Premake was changed to rem
www.eeworm.com/read/458000/7314388