Quantcast More than 200 local variables - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-09-20, 05:41 PM   #1
An Aku'mai Servant
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 36
More than 200 local variables

Hi all

My addon stops working once I have more than 200 local variables, the error gives me the following message.
4x AAA\AAA main function has more than 200 local variables
I understand that I can reduce the number of variables to keep under that 200 cap but I would like to know why such a cap exists?

Also I can define variables using
local a, b, c, d, e = 1, 2, 3, 4, 5
However this still counts as 5 local variables, is there a way to define local variables in a way that dose not increase the overall count of local variables?
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » More than 200 local variables

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off