View Single Post
11/18/14, 03:24 PM   #6
Sasky
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 231
Ah yeah. If you're trying to do something along these lines it'd throw the error at the for statement because you can't have a for statement within a table.
Lua Code:
  1. --BAD STRUCTURE. DO NOT USE
  2. local addonControls = {
  3.     --controls here
  4.    
  5.    --BAD STRUCTURE
  6.    for( .... ) do
  7.       {
  8.           --Data here
  9.       }
  10.    end
  11. }

Might go ahead and throw the full function/file on pastebin or something so can better see what the error is.
  Reply With Quote