我的lua学习1

find函数

local function find(id)
local s_data = start_people_config.s_data
if s_data[id] == nil then
print("Without this number")
return false
end

return true
end

 

posted @ 2014-05-06 13:36  梅兴昊  阅读(68)  评论(0)    收藏  举报