好玩的代码
2015-12-02 16:27
274 查看
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")
相关文章推荐
- spring事务模板使用
- c++ builder使用过程中,记录的bug
- 一、WorldWindJava2.0使用
- php调用webservice
- Spring和MyBatis环境整合
- Java基础编程之输入两个正整数m和n,求其最大公约数和最小公倍数。
- Java的值传递
- java ArrayList补充——subList
- 菜鸟学Github
- Mybatis插入多条相同记录
- QT中的QRegExp学习(正则表达式)
- VS+QT实现语言自动切换
- Java枚举
- C语言之关键字const
- spring调用存储过程
- C语言学习总结(二) 运算流程
- Python 论字符串不变性
- springMVC return "中文乱码"解决方法
- python入门--函数
- C语言宏的特殊用法和几个坑