function tell(num,...) --print("value of implicit table:",...) --select(1,...)tell(12,43,12,55)成为nil,例如与print("value of implicit table:",...)或select(1,...)
但这导致lua抱怨没有这样的模块。-- minimalexample.luascheduler:schedule(function() return, 1000)lua: ./rx.lua:1913: module 'timer' not found:stack traceback:
[C]: in function 'require&
在我们的项目中,我尝试从lua调用一个java方法,该方法具有可变数量的参数。Object...args ) events.add( new TimerEvent( luaFile, function, milliseconds, args ) );我想用下面这行代码从luaerror in call to Lua API (Invalid method call.因此,也许你们中的任何人曾经在Lua文件中使用过带变量参数的java方法,并且可以给我一个提示,我如何解决这个问题。我只是不想在Lua