Hello World

lua: dofile 调用

lua版本: 5.3.6 1.example.lua function add(a,b) print("enter add") return a+b end return{ -- handle 是 dofile 返回的句柄, 将 add 赋值给 handle, 就要通过 handle 调用 add
posted @ 2024-01-05 09:51  小小忧愁米粒大  阅读(173)  评论(0编辑  收藏  举报
瞅啥瞅,好好看书