View Single Post
04/27/14, 11:45 PM   #8
LilBudyWizer
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 32
I stuck an addon out there to make it relatively easy to see what globals your addon is creating. I called it Environmental Protection Addon (EPA). I caught where I created a global by accident. It caused the program to crash since it wasn't where it was suppose to be, but it made me think about how easy it is to accidently create global and wonder if I had done that somewhere didn't cause a crash. The program is extremely simple. It has like 20 lines of code. I thought I might as well throw it out there though. Lord knows I see a lot of variables in global that ought not be there. Surely no one else will use "name" as a variable name.
  Reply With Quote