global variables and local functions.

Erik Max Francis max at
Thu Aug 29 06:06:51 CEST 2002

Micah Mayo wrote:

> Basically here's what I'm trying to do:
> <pseudocode>

Your pseudocode is not helpful because it does not show the exact code
that is resulting in the exact error you mention.  mlistLen is not
mentioned at all in your pseudocode, so it is impossible to say where or
what is going wrong.

Probably you forgot a global statement somewhere, but without seeing
actual code that causes the error it is not possible to give concrete,
helpful advice.

 Erik Max Francis / max at /
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ There is nothing so subject to the inconstancy of fortune as war.
\__/ Miguel de Cervantes
    Church /
 A lambda calculus explorer in Python.

More information about the Python-list mailing list