文章分类 -  lua

#lua 异常处理
摘要:lua 异常处理 1、 "https://www.lua.org/wshop06/Belmonte.pdf" 2、 "http://www.cnblogs.com/jadeboy/p/3978661.html" 3、 "http://nanxiao.me/lua note 22 error and 阅读全文

posted @ 2017-04-07 19:43 ZhYQ_note 阅读(659) 评论(0) 推荐(0) 编辑

#lua序列化
摘要:lua序列化 参考: 1、 "http://blog.codingnow.com/cloud/LuaSerializeTable/" 2、 "http://blog.csdn.net/xiaodan007/article/details/7096718" 阅读全文

posted @ 2017-04-06 16:10 ZhYQ_note 阅读(104) 评论(0) 推荐(0) 编辑

float_equal lua (lua 浮点数相等判断)
摘要:原文地址:http://lua-users.org/lists/lua-l/2013-08/msg00456.html Subject: Re: Float numbers equality. From: Leo Razoumov <slonik.az@...> Date: Mon, 26 Aug 阅读全文

posted @ 2016-12-14 19:24 ZhYQ_note 阅读(995) 评论(0) 推荐(0) 编辑

Lua's multiple arguments and the "select" function(lua 可变参数)
摘要:原文地址:http://emmanueloga.com/2010/12/09/lua-select.html When I first read about lua's select function I found it a little confusing. According to lua's 阅读全文

posted @ 2016-12-14 19:13 ZhYQ_note 阅读(124) 评论(0) 推荐(0) 编辑

lua条件判断时的真假条件
摘要:lua条件判断时的真假条件 Lua 中所有的值都可以作为条件。在控制结构的条件中除了 false 和 nil 为假,其他值都为真。所以 Lua 认为 0 和 空字符串 都是真。 阅读全文

posted @ 2016-12-08 16:39 ZhYQ_note 阅读(1960) 评论(0) 推荐(0) 编辑

LDOC 入门指南 -- 重点是里面的安装
摘要:原文地址:http://blog.justbilt.com/2015/08/23/ldoc/ 注:使用brew安装时一直报找不到luarocks,没解决掉,后来就用源码安装,安装成功。 LDOC 入门指南 LDOC 入门指南 最近因为服务端的一些变故, 需要一份客户端与服务器交互的 api 文档. 阅读全文

posted @ 2016-11-02 12:39 ZhYQ_note 阅读(1994) 评论(0) 推荐(1) 编辑

lua 颜色转化处理
摘要:可以参考下面这两个github上的处理: https://github.com/k2052/color.lua https://github.com/Perkovec/colorise-lua 阅读全文

posted @ 2016-10-28 11:34 ZhYQ_note 阅读(1514) 评论(0) 推荐(0) 编辑

utf8 lua
摘要:https://github.com/Stepets/utf8.lua/blob/master/utf8.lua 一个对utf8字符操作的库 阅读全文

posted @ 2016-08-09 19:03 ZhYQ_note 阅读(116) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示