View Single Post
02-02-10, 11:56 AM   #34
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,935
Hmm,

SDPhantom :
I am pretty sure that in the past I have overridden default values that way when not using the addonName, addonTable = ... system. However, I could have been lucky and it was working the way you said and this time it wouldn't have.

NightCracker:
Meta tables I have read about but sounded a bit too confusing for me to deal with at the moment but then again this new way of working seemed confusing at first so I am sure in time I will get to learn about metatables in some addon somewhere and pass it along to my others once I have understood it.


But, I still feel the addonName, addonTable = ... is definitely a boon to keeping my code tidier and more readable.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote