Better HN
topnewbestaskshowjobs
Log inSign up

johnmo

2 karma · joined Mar 9, 2013 (13y ago) · 1 submissions

Submissions

comment 13y ago · link · parent

> The "hash" part doesn't have a defined length. Both parts can be iterated over using the pairs method, which allows you to count the number of elements in them

While true, you should iterate integer-key tables using ipairs and hash tables using pairs.

> No continue statement

Continue doesn't exist? I swear I've used it in Lua 5.1.