没有合适的资源?快使用搜索试试~ 我知道了~
lua-scope:资源获取是Lua的初始化实现
共13个文件
html:3个
yml:1个
gif:1个
需积分: 9 0 下载量 95 浏览量
2021-06-01
11:23:51
上传
评论
收藏 19KB ZIP 举报
温馨提示
lua 作用域 lua-scope是Lua 的简单资源获取即初始化实现。 概要 local scope = require " scope " scope ( function ( guard ) local f = assert ( io.open ( " out " , " w " )) -- always executed at the end of the function guard: on_exit ( function () f: close () end ) -- might die or might not do_more_stuff (f) local f2 = assert ( io.open ( " out " , " w " )) -- some other protector guard
资源推荐
资源详情
资源评论
收起资源包目录
lua-scope-master.zip (13个子文件)
lua-scope-master
.gitignore 7B
test.sh 101B
t
usage.t 2KB
src
scope
init.lua 588B
.travis.yml 120B
LICENSE 9KB
doc
us
doc.css 4KB
license.html 11KB
manual.html 4KB
index.html 4KB
lua.gif 4KB
README.md 699B
rockspecs
luascope-0.01-1.rockspec 577B
共 13 条
- 1
资源评论
cocoaitea
- 粉丝: 13
- 资源: 4566
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功