unreferenced (???) variable; prob. simple
p.useldinger at myrealbox.com
Mon Sep 15 22:30:35 CEST 2003
On Mon, 15 Sep 2003 21:31:07 +0200, "Halfdan Holger Knudsen"
<s011362 at student.dtu.dk> wrote:
>goodday all - here's a snippet of code that just doesn't seem to work...at
>all! But I haven't got the faintest idea why I keep getting an unref.
>local var. error. Take a look - I know I can get good help here. And PS:
>begind = 0
>endind = 0
These variables are not know inside the function. The best solution is
to declare them as local variables in the function, as they really are
only of use in there, i.e.:
[... here goes the rest ...]
More information about the Python-list