WoWInterface - View Single Post - Concatenation problem
View Single Post
05-04-15, 08:04 AM   #2
A Rage Talon Dragon Guard
suicidalkatt's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 331
Your line there:
Lua Code:
  1. enabled = ["min"..option].cbutton:GetChecked(),

You're trying to reference some table "minduration"? Does this table exist? If so you can't reference it in this manner.

It looks like you're trying to find a checkbox and determining if it's checked or not.

Please post your full code to give a better interpretation.

If this table is global, you can find it within the global namespace as follows:
Lua Code:
  1. enabled = _G["min"..option].cbutton:GetChecked(),

That being said, a global with that name is just asking for trouble.

Last edited by suicidalkatt : 05-04-15 at 08:10 AM.
  Reply With Quote