break/continue - newbe
sjmachin at lexicon.net
Tue Dec 21 22:30:38 CET 2004
> I have trouble sometimes figuring out where
> break and continue go to. Is there some easy
> way to figure it out, or a tool?
You need a tool called py2ftn. It would convert statements like "if a >
b: break" to e.g. "IF(A.GT.B)GOTO12345".
A longer example; this:
if cond1: break
if cond2: continue
More information about the Python-list