damowang
    local index = 1
    local function outer(arg)
        local function iner()
            index = index + 1
            local tb = {"a","b"}
            outer(tb)
        end
        if index < 10 then
            printInfo("index = %s", index)
            iner()
        else
            return
        end
        dump(arg, "arg")
    end
    outer("test")

 

分类:

技术点:

相关文章:

  • 2021-11-01
  • 2021-07-04
  • 2021-10-18
  • 2022-02-18
  • 2021-10-12
  • 2022-01-22
  • 2021-12-13
  • 2021-08-17
猜你喜欢
  • 2021-09-21
  • 2021-11-06
  • 2021-05-22
  • 2021-11-30
  • 2021-05-27
  • 2021-10-18
  • 2021-12-22
相关资源
相似解决方案