title: Create multiple entry box using for loop in tcl/tk
body: <p>Hi i have a integer value and based on the value i have to create the entry boxes in a tcl/tk gui. So i did something like this:</p>
  
  <pre><code>    set frame1 [::hwt::LabeledFrame [::hwt::WindowRecess editThicknessWindow].frame1 "Current List: " \
                                                          -expand 0 -relief flat -anchor e -side top -pady 15]
  
      for {set i 0} {$i &lt; $length_Thickness} {incr i} {
          set Entry_No_$i [::hwt::AddEntry $frame1.Entry_No_[eval $i] label "List Values_$i :" labelwidth 15 \
            entryWidth 10 anchor nw validate real text [namespace current]::arr_attribOptionsValue(Thickness)[$i] state normal \
            withoutPacking -textvariable [namespace current]::lst_Value[$i] ]
            pack $Entry_No_[eval $i] -side top -anchor nw -padx 10 -pady 10
      }       
  </code></pre>
  
  <p>So let's say i have the integer number as 3 then i have to create 3 entry boxes. I have a list "arr_attribOptionsValue(Thickness)" with 3 values in it so i want the values from the list to be populated in the entryboxes. Since i am new to tcl/tk so not sure if the syntax is correct or if i am missing something. I am confused like i am creating the tk variable Entry_No_$i and in the pack i am using $Entry_No_[eval $i] so will these two refer to the same value or is it wrong syntax. </p>