模块:Statsbar:修订历史

来自决策链云智库

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

2023年12月9日 (星期六)

  • 当前之前 22:222023年12月9日 (六) 22:22Zeroclanzhang 讨论 贡献 5,861字节 +5,861 创建页面,内容为“local p = {} local args = {} local origArgs = {} local root -- Returns a table containing the numbers of the arguments that exist -- for the specified prefix. For example, if the prefix was 'data', and -- 'data1', 'data2', and 'data5' exist, it would return {1, 2, 5}. local function getArgNums(prefix) local nums = {} for k, v in pairs(args) do local num = tostring(k):match('^' .. prefix .. '([1-9]%d*)$') if num then table.insert(nums, t…”