Use the # Operator (#table)
myTable = {1, 2, 3}
for i = 1, #myTable do
-- Code
end
Code Example |
---|
Lua :: dictionnary lua |
Lua :: how to check if a sting incules something roblox |
Lua :: for i in pairs lua |
Lua :: string to int lua |
Lua :: roblox tweenservice |
Lua :: do while lua |
Lua :: roblox number between 1 and 10 |
Lua :: lua type of |
Lua :: append to table lua |
Lua :: lua for loops |
Lua :: lua string length |
Lua :: lua print table |
Lua :: How to Register a command in Lua |
Lua :: lua random numbers printing |
Lua :: lua stack |
Lua :: how to make a run in roblox lua |
Lua :: how to enable https service roblox |
Matlab :: matlab get row from matrix |
Matlab :: matlab for loop syntax |
Matlab :: pass variable by reference to function in matlab |
Basic :: add user to multiple groups ubuntu |
Basic :: split to list vb.net |
Elixir :: generate random number elixir |
Elixir :: elixir enum chunk_every |
Scala :: Scala methods |
Scala :: scala string get char |
Excel :: google sheets convert string to date |
Perl :: perl exit loop |
Perl :: first line perl |
Powershell :: powershell take ownership recursive command |