Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/21/14, 12:08 PM   #1
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
ipairs bugged?

As far as I understand the only difference between pairs and ipairs should be that ipairs goes by alphabetical/numerical order. Both should still go over all the data.

But when given a table like this:
[1] = "CHAT_CATEGORY_SAY"
[2] = "CHAT_CATEGORY_YELL"
[3] = "CHAT_CATEGORY_WHISPER_INCOMING"
[4] = "CHAT_CATEGORY_WHISPER_OUTGOING"
[6] = "CHAT_CATEGORY_ZONE"
... (the table is in total 41 entries long)

ipairs will stop dead after entry 4.
As opposed to pairs, wich goes properly over the full table.

As far as I understand the syntax those are global functions.
Any chance Zenimax bugged ipairs up?
Any chance some addon is overwriting ipairs with a faulty version?
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » ipairs bugged?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off