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

I have no problem downloading my code above. All the code was wraped in the code tags. Are you still having this problem? (Oh, perhaps you are talking about the code in the text. (That would be "all the code., As you stated. lol :). I can and will fix that. BTW, I am using @var2 and $var1 in the Actual code, So the name space is not the issue.
  • Comment on Re^2: TK "textvariable" not updating with @var but ok with $var

Replies are listed 'Best First'.
Re^3: TK "textvariable" not updating with @var but ok with $var
by Laurent_R (Canon) on Jan 27, 2017 at 07:28 UTC
    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.

      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.