lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


So, to get the number of entries in a table y must do somethig like:


counter = 0;--The counter

function addcounter
     counter = counter+1;
end

Foreach( tabla, addcounter)  --PetitteVersion


???
Is this correct? :S