View Single Post
06-11-11, 06:06 AM   #5
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Originally Posted by Sideshow View Post
just open the lua file, make the "bar" var a global var and acces it then with bar[i] in a loop
Uhmm again what Sideshow said
Code:
local bar = {}
Code:
bar = {}

------
???
------

for i = 1, #bar do
--	do stuff with bar[i]
end
I don't really understand the context though (between arrays/tables and the Frame stuff Jasje mentioned)
You also might want to change the name to be more unique if it's in the global namespace

Last edited by Ketho : 06-11-11 at 06:10 AM.
  Reply With Quote