in reply to Re^2: TK "textvariable" not updating with @var but ok with $var
in thread TK "textvariable" not updating with @var but ok with $var

It wasn't a question of name space, but an issue of using meaningful variable names, i.e. names that make sense to you and to your reader. The only thing that the name $var tells you is that it is probably a variable, but that was already known.

If you use a more useful name, such as $counter, $nb_of_customers, $time_left_to_ignition, that helps understanding what's going on in the program.

  • Comment on Re^3: TK "textvariable" not updating with @var but ok with $var

Replies are listed 'Best First'.
Re^4: TK "textvariable" not updating with @var but ok with $var
by mark4 (Acolyte) on Feb 05, 2017 at 12:33 UTC
    I Widdled my program down to a simple example (so I thought) and I just picked names out of the air. In hindsight I should have used foo and fee. The names I picked actually highlighted my 'wrong' thinking that you could treat an array just like a variable. Thanks for all your help in this problem I was having.