Content deleted Content added
test args |
non zero based right |
||
Line 4:
local args = frame.args
local arg1 = args[
local arg2 = args[
local arg3 = args[
local argNamed = args['named']
local s = 'Params: '
Line 12 ⟶ 13:
if (arg2 ~= nil) then s = s .. '; 2 = ' .. arg2 end
if (arg3 ~= nil) then s = s .. '; 3 = ' .. arg3 end
if (argNamed~= nil) then s = s .. '; named = ' .. argNamed end
return s
|