Content deleted Content added
No edit summary |
No edit summary |
||
Line 62:
function p.getVariableVals(args)
local variableVals = {}
local stop = tonumber(args.stop)▼
local by = tonumber(args.by)▼
if args[2] then
error("Both start/stop/by and numbered parameters specified")
end
start = tonumber(args.start or 1)
for i = start, stop, by do
variableVals [#variableVals + 1] = i
|