View Single Post
Old 02-23-13, 05:23 PM   #8
semlar
A Firelord
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 454
You can use either pairs or next to loop over a dictionary table.

Lua only returns a length for numerically indexed tables (or at least the highest consecutive index).

Last edited by semlar : 02-23-13 at 05:26 PM.
semlar is online now   Reply With Quote