Thread: Global vars ?
View Single Post
11-03-14, 05:24 AM   #19
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
Originally Posted by AlleyKat View Post
In my way I can access to my frame via
Code:
local title, M = ...;
in your way I must

Code:
local title = ...;
local M = _G[title];
Just do this then:
Code:
local title, M = ...;
M.frame = CreateFrame("Frame")
__________________
Grab your sword and fight the Horde!
  Reply With Quote