Yes! That works just fine.
Edit: here are the various parts.
Lua Startup:
myscenes = require "myscenes"
Scene Lua:
myscenes.hello ("the","rain","in","Spain")
Lua file (myscenes.lua):
-- test scene breakpoints
local function hello (...)
for k,v in ipairs {...} do
print (k, tostring(v))
end
end
return {hello = hello}
Output:
1 the
2 rain
3 in
4 Spain
And, of course, you can set a breakpoint and inspect variables in the middle of all this… (see attachment)