[Tutor] click and line

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Mon Nov 7 09:40:18 CET 2005



> it works now.

Hi Shi Mu,

Can you describe how you fixed it?  The only diff between the two programs
that I see is that you repositioned the setting of the frame variable.


#################################
mumak:~ dyoo$ diff t1.txt  t2.txt
6c6
<
---
> frame = c
16c16
< frame = c
---
>
#################################

What makes the "fixed" code suspicious is that the 'frame' variable is
useless in the sense that it doesn't do anything.  And even if it did do
something, the fix --- moving a variable definition around --- doesn't
make sense to me.  *grin*

Try changing it back and see if the problem recurs.  (I suspect that your
first version also worked, but that you may have forgotten to save your
file before testing it.)


Best of wishes!



More information about the Tutor mailing list