local function string_split(str, exp) local result = {} local strlen = #str local index = …
require 'luacom' local excel = luacom.CreateObject('Excel.Application') excel.Visible = tr…
getpref = overloaded() function getpref.string.number(key,defaultVal) local userdata = CCU…
-- main -- Use this function to perform your initial setup function setup() displayMode(FU…
function list_iter_time(t, time) local index = 0 local size = #t return function() local r…
#include <stdio.h> #include <sys/time.h> #include <time.h> #include <…
--[[============================================================================= # FileNa…
function printCallStack() local startLevel = 2 --0表示getinfo本身,1表示调用getinfo的函数(printCallSta…
core = {} core.block = {} core.score = 0 core.best = 0 love.filesystem.setIdentity("2048")…
function serialize( pTable ) local tp = type( pTable ) if tp == 'string' then return strin…
require"luasql.mysql" --创建环境对象 env=luasql.mysql() --连接数据库 conn=env:connect("数据库名","用户名","密…