add lua example
This commit is contained in:
parent
fb51235980
commit
9af52d8f24
|
@ -0,0 +1,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
|
Loading…
Reference in New Issue