摘要:
local function foo(a) print("foo: ", a) return coroutine.yield(2 * a) end local co = coroutine.create(foo) print(coroutine.resume(co, 1)) -- true, 2 * 阅读全文
摘要:
展开表: local extract extract = function (t, key, ...) -- print("extract key: ", key, type(t), t) if not key then return t end if not t then return nil e 阅读全文
摘要:
local function f(x, y) print("f args: ", x, y) error("f error") -- raise error end -- 1 local function error_handler(err) print(err) return debug.trac 阅读全文
摘要:
创建数据库:CREATE DATABASE `game_s1`; 在game数据库source game_db.sql: CREATE TABLE IF NOT EXISTS `account` ( `accountid` INT UNSIGNED NOT NULL AUTO_INCREMENT C 阅读全文
摘要:
转载:https://blog.csdn.net/davidhsing/article/details/1996180 含有/F的for格式:FOR /F ["options"] %%i IN (file) DO command FOR /F ["options"] %%i IN ("string" 阅读全文