> > The old "function order definition" problem nails a newbie every time. > It's worth a note that this is why you always see this idiom in Python: >
As a bit of a [python] newbie myself, the proper procedure for forward declaring things has so far evaded me as well. Is there a "right" way to do this in python? : ... def f1( i ): if( i < 20 ): return f2(i) else: return 0 def f2( i ): if( i > 20 ): return f1(i) else: return 0 ... of course the logic here is idiodic, but you get the idea.... -- _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs