View Single Post
10-20-15, 10:06 AM   #5
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
If this is for checking if your saved variables already exist because you're worried about overwriting them, that's not something you need to do.

Your saved variables are loaded after your addon files are executed and will overwrite any variables with the same name.

If you have "ADVANCED_INTERFACE_GLOBAL_CONSTANTS = {}" in your lua file, and "ADVANCED_INTERFACE_GLOBAL_CONSTANTS" is a saved variable name, it'll just replace your empty table with the saved data when it finishes loading.
  Reply With Quote