Thread Tools Display Modes
11-16-17, 12:42 PM   #1
Kakjens
A Cliff Giant
Join Date: Apr 2017
Posts: 75
I suggest to paste whole code, instead of snippets. For example, I don't see what calls runTests().
Additional issue is use of global functions. While in debugging phase it's OK but "good" add-ons try to avoid polluting global environment.
If you plan to use something as an argument in a function, both the call, and function definition has to have variable (at worst case, ellipsis).
Also, for WoW to know the new content of toc file, you need to restart it but you probably already knew it.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » LUA Scoping Semantics


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off