Stay Hungry,Stay Foolish!

摘要: pack和unpack 对于一个函数, 要将其入参转换为一个表, 则pack函数合适。 对于一个表要将其转换为 一个函数的入参, 则 lua原生提供的 unpack函数可以实现。 do arrayData = {"a", "b", "c", "d", "e"}; function pack(...) return {...}; end print( pack("aa", "bb"... 阅读全文
posted @ 2016-06-30 00:14 lightsong 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 什么是兼容性? compatible http://www.webopedia.com/TERM/C/compatible.html (n) Indicates that a product can work with or is equivalent to another, better-know 阅读全文
posted @ 2016-06-30 00:00 lightsong 阅读(2673) 评论(3) 推荐(0) 编辑
Life Is Short, We Need Ship To Travel