Module:LuaCall: Difference between revisions
From Test Wiki
Content deleted Content added
desc |
+call_s() |
||
| Line 101: | Line 101: | ||
ipairsAtOffset(frame.args, 1) |
ipairsAtOffset(frame.args, 1) |
||
) |
) |
||
end |
|||
--[[ |
|||
------------------------------------------------------------------------------------ |
|||
-- call_s |
|||
-- |
|||
-- Like call(), passing all arguments as string (no conversion) |
|||
------------------------------------------------------------------------------------ |
|||
--]] |
|||
function p.call_s(frame) |
|||
return get(frame.args[1])(unpack(frame.args, 2)) |
|||
end |
end |
||