Navigation menu

WoW:API pairs: Difference between revisions

Jump to navigation Jump to search
m
Move page script moved page API pairs to WoW:API pairs without leaving a redirect
({{luaapi}})
m (Move page script moved page API pairs to WoW:API pairs without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{luaapi}}
{{wowlua}}
Returns an iterator triple that allows for loops to iterate over all key/value pairs in a table.
Returns an iterator triple that allows for loops to iterate over all key/value pairs in a table.
  iteratorFunc, table, startState = pairs(table);
  iteratorFunc, table, startState = pairs(table);
Line 23: Line 23:
   mug : coffee
   mug : coffee
   42 : universe
   42 : universe
   true : false
   testboolean : false


would be output to the chat window.
would be output to the chat window.
Anonymous user