Fix: Lua scripts cannot read whole collection at once

This commit is contained in:
Martin Vierula
2023-06-13 06:41:40 -07:00
parent b84f32d6f2
commit b8e1aedef3
4 changed files with 248 additions and 163 deletions

View File

@@ -0,0 +1,13 @@
function main()
local d = m.getvars("ARGS");
local size = #d;
m.log(9,"ARGS count read =" .. tostring(size));
ret = nil
if ( #d == 2 ) then
return nil
end
return "Unexpected result"
end