puts "test=($test)"
for { set i 0 } { $i <= $test } { incr i } {
lappend menulist "$i"
lappend fileselect(ALIASLIST) $i
}
incr test
DefineMenu _input_columns $menulist $fileselect(ALIASLIST)
For truly dynamic menus, try varmenus.
puts "test=($test)"
for { set i 0 } { $i <= $test } { incr i } {
lappend menulist "$i"
lappend fileselect(ALIASLIST) $i
}
incr test
DefineMenu _input_columns $menulist $fileselect(ALIASLIST)