View Single Post
11-17-05, 03:37 AM   #2
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
Where is "result" defined? If result is a global variable then this line will put its value in every box:
Code:
Name:SetText(result);
If it's a local variable then you shouldn't see anything in the boxes.

Your for loop is structured fine. As a test you can do:

Name:SetText("line "..Item)

or

Name:SetText("line "..Index) -- will be more meaningful
  Reply With Quote