Quantcast
WoWInterface - View Single Post - Lua dynamic class name possible ?
View Single Post
03-03-15, 06:35 PM   #3
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
I don't really understand what you're looking for, but I can tell you that this:
Code:
Test.About._G[Test]
works out to be equivalent to this:
Code:
Test["About"]["_G"][Test]
because when you're using dot instead of brackets, the key is intrepreted literally (or some other explanation that's terminologically correct)

You probably want this:
Code:
Test.About[_G[Test]]
__________________
Grab your sword and fight the Horde!
  Reply With Quote