hi,
My function works but i find that the line count=group.paper[1][1].count… is very big…no problem with vim ! but it must surely be a way to code it more simply or more aesthetic way.
more if I want to increase or decrease the number of rows or columns in my table I have to re-encode all
Thank you if you can make me discover a new trick
group.total=function() count=group.paper[1][1].count+group.paper[2][1].count +group.paper[3][1].count+group.paper[4][1].count+group.paper[5][1].count+group.paper[1][2].count+group.paper[2][2].count+group.paper[3][2].count+group.paper[4][2].count+group.paper[5][2].count if count == 10 then print("ok") else print("false") end end
