Thread: Global vars ?
View Single Post
11-03-14, 08:29 PM   #25
AlleyKat
A Warpwood Thunder Caller
 
AlleyKat's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 93
Originally Posted by Phanx View Post
and this is what I'm saying is absolutely pointless, and a bad programming habit besides.
Nope, not pointless, my build-in table now has frame atrrs, and table of original frame works as build-in

Code:
local title, M = ...;

local anotherFrame = CreateFrame("Frame", "SomeFrame", M);
another lua file, or addon

Code:
local M = SomeFrame:GetParent();
  Reply With Quote