`
lobin
  • 浏览: 117526 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
Rss 文章列表
  kad.lua local socket = require("socket") local tcp, err = socket.tcp() if tcp == nil then print(err) error() end tcp:setoption("reuseaddr",true) local result, err = tcp:bind("localhost", 3131) print(result) print(err) if result == nil then prin ...
  Lua C模块开发   iarray例子 例子工程文件列表: >tree . /F 卷 D 的文件夹 PATH 列表 卷序列号为 F075-351A D:\***\ALLOC     alloc.cpp     alloc.obj     iarray.dll     iarray.exp     iarray.lib     liballoc.cpp     liballoc.obj     Makefile   没有子文件夹   alloc.cpp #pragma comment(lib, "lua5.1.lib") ...
The symbolic, non-executable form of a method handle's invocation semantics. It consists of a series of names. The first N (N=arity) names are parameters, while any remaining names are temporary values. Each temporary specifies the application of a function to some arguments. The functions are method ...

lua

arg argstest.lua print(arg) print(type(arg)) if arg ~= nil then print("------") print(arg[-1]) print(arg[0]) print("------") for i, v in ipairs(arg) do print(i .. "->" .. v) print(tostring(i) .. "->" .. tostring(v)) en ...
list   user=> '(1 2 3 4 5 6) (1 2 3 4 5 6) user=> (list) () user=> (list 1 2 3 4 5 6) (1 2 3 4 5 6) user=> (list* 1 2 3 4 5 6 '(7 8 9)) (1 2 3 4 5 6 7 8 9)   user=> (list? '(1 2 3 4 5 6)) true   vector user=> [1 2 3 4 5 6] [1 2 3 4 5 6] user=> (vector) [] use ...
/*  *  *  * @author ada  * @version 1.0  * @since 1.0  */ #include <log.h> #include "../LuaRuntime.hpp" #include "../Task.hpp" #include "../../LinkedLibrary.h"   LuaRuntime *runtime = NULL;   int lua_create_task(struct lua_State *L) { LuaContext & ...
/*  *  *  * @author ada  * @version 1.0  * @since 1.0  */ #include <stdio.h> #include <string.h> #include <log.h> #include "../gs/LuaContext.hpp" #include "../gs/LuaExecutor.hpp" #include "../gs/LuaScriptExecutor.hpp" /* #include <lua ...
Global site tag (gtag.js) - Google Analytics