Thread
:
Is there a better way?
View Single Post
01-18-15, 12:30 PM
#
14
Seerah
Fishing Trainer
Join Date: Oct 2006
Posts: 10,860
And if this
Lua Code:
MyAddon.frame
=
CreateFrame
(
"Frame"
)
local
frame
=
MyAddon.frame
were done inside of a function or other block, then it's scope would be limited to that block. Just like what you just wrote.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff,
The Tao of Pooh
Seerah
View Public Profile
Send a private message to Seerah
Find More Posts by Seerah