Thanks for the replys.
I thought that any items built within a function are local to that function, so setting them as local was redundant, is this the case for variables within a function as well? (I have now made the button local).
Thanks for showing me the "$parentbtn" .. index thing, this will be very helpful for me.
It also makes sense the point made of,
The first button: DeathKnightSpellList[1].spellChatList[1]
The second button: DeathKnightSpellList[2].spellChatList[2]
How do I change it to make it,
The first button: DeathKnightSpellList.spellChatList[1]
The second button: DeathKnightSpellList.spellChatList[2]
The syntax I thought would work, DeathKnightSpellList.spellChatList[index], does not work and I have not yet been able to find a way to solve this.
__________________
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
Fizzlemizz
|
|