scalar_demo.lua 174 字节
Newer Older
Y
yihaoDeng 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
funcName = "test"

ans = 1 

function test_init()
  return ans  
end

function test_add(rows, ans)
  for i=1, #rows do
    rows[i] = rows[i] + ans  
  end
  return rows 
end