View Single Post
01-28-10, 06:15 PM   #23
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,935
As far as I know though any object not declared local is global right ? Like I can access many of nUI's functions and variables from my plugins because they are globally available for that purpose.

local ThisIsALocalVariable
ThisIsAGlobalVariable = 1234
ThisIsAGlobalTable = { SubTable1 = {}, Value1 = 23 }

In all the addons I have seen have done things this way which allows public access to the variables.
__________________


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