Ann wrote: > I have trouble sometimes figuring out where > break and continue go to. Is there some easy > way to figure it out, or a tool? > TIA > Ann
You need a tool called py2ftn. It would convert a sequence of
statements like:
while 1:
blah1
if cond1: break
blah2
if cond2: continue
blah3
to:
10000 IF(1)10001,10003,10001
10001 CONTINUE
BLAH1
IF(COND1)GOTO10003
BLAH2
IF(COND2)GOTO10002
BLAH3
10002 CONTINUE
GOTO10000
10003 CONTINUE
HTH,
John
--
http://mail.python.org/mailman/listinfo/python-list
