Bug With HaveItem()
Posted: Thu Jun 18, 2015 12:09 am
Hi Andreas,
HaveItem() seems to have trouble recognizing table items assigned to string indices. Here is some example code:
Thankfully, RawGet() still recognizes all the table items as it should.
HaveItem() seems to have trouble recognizing table items assigned to string indices. Here is some example code:
Code: Select all
TestTable1$={}
TestTable2$={}
TestTable1$["Test"]=TestTable2$
;TestTable1$[5]=TestTable2$
DebugPrint(HaveItem(TestTable1$, "Test"))
;DebugPrint(HaveItem(TestTable1$, 5))