Sorry for the baby question: How to check that the table has a function? So far I have found a way out:if #a[1]==0 , Is it possible to do it differently?
function test()print("test1")end
a={{p=test},234523}for i=1,2doif #a[i]==0then
a[i].p()elseprint(a[i])endend
Comments
Likes: Apollo14
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Likes: oleg
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!