Dear Kev<br><br>Thank you very much.<br>I got it.:)<br><br><div class="gmail_quote">2009/8/16 Kev Dwyer <span dir="ltr"><<a href="mailto:kevin.p.dwyer@gmail.com">kevin.p.dwyer@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, 16 Aug 2009 16:57:41 +0900, Chang Min Jeon wrote:<br>
<br>
<br>
Hello,<br>
<br>
You have placed recursive calls to the function in a number of different<br>
locations; when len(macro) becomes zero control will return to the<br>
calling function, but this calling function may have more code to<br>
execute, including further calls to start_parse(), and further attempts<br>
to index macro.<br>
<br>
I like to keep recursive calls at the end of a function, so that there is<br>
a clean path back to the top level caller once the terminal condition is<br>
reached. You can do it differently, but you need to bear in mind the<br>
execution paths through your code.<br>
<br>
Cheers,<br>
<br>
Kev<br>
<font color="#888888"><br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>CashFlow<br>To be rich.<br>