StendhalScripting/Lua: Difference between revisions
Content deleted Content added
imported>AntumDeluge |
imported>AntumDeluge |
||
Line 68:
==== Iterating Tables ====
Tables can be iterated in a ''for'' loop using the ''pairs'' or ''ipairs'' iterators. Loops are terminated with the <code>end</code> keyword:
<pre>
local mytable = {
| |||