local table = {2,3,12, "Hello"} --a simple array
for i, item in pairs(table) do -- for i in pairs loop goes through all the items in an array/table
print(item)
end
Code Example |
---|
Lua :: lua hello world function |
Lua :: string to int lua |
Lua :: what is the point of local varaibles in lua |
Lua :: make string all capital roblox |
Lua :: how to get the length of a table in lua |
Lua :: roblox luau random number |
Lua :: lua trim |
Lua :: how to print in lua |
Lua :: lua tables |
Lua :: lua oop |
Lua :: lua class |
Lua :: while loop in lua |
Lua :: minetest lua delay |
Lua :: random number lua |
Lua :: lua prin type of variable |
Lua :: lua to float |
Lua :: roblox lua |
Matlab :: matlab plot vertical line |
Matlab :: display sequence in matlab |
Matlab :: matlab pan |
Basic :: visual basic how to create a dynamic button |
Basic :: how to simulate tail in dos/cmd without tail |
Elixir :: elixir enum flat_map |
Elixir :: elixir new structs |
Scala :: scala |
Actionscript :: how to resize a base64 image |
Excel :: excel highlight rows where column matches text |
Perl :: perl print array |
Pascal :: subrange variables pascal |
Powershell :: how to download git on windows using power shell |