Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-04-11, 07:15 AM   #1
mazuliite
A Defias Bandit
Join Date: Feb 2009
Posts: 2
Basic lua code question.

Hello dear fellas,

I've got a question on how do I insert these variables into a table and then print the tables content, as with this code that I've got so far it doesn't seem to return anything when I try to print it out.

Code:
local channels = {}
table.insert(channels, {id1, name1, id2, name2, ... = GetChannelList()});

print(channels);
Thank you for your time and help in advance.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Basic lua code question.


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