LUA Scoping Semantics
View Single Post
11-16-17, 12:42 PM
A Cliff Giant
Join Date: Apr 2017
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.
View Public Profile
Send a private message to Kakjens
Find More Posts by Kakjens