Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v9 / html / python / ref / continue.html
CommitLineData
920dae64
AT
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<link rel="STYLESHEET" href="ref.css" type='text/css' />
5<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
6<link rel='start' href='../index.html' title='Python Documentation Index' />
7<link rel="first" href="ref.html" title='Python Reference Manual' />
8<link rel='contents' href='contents.html' title="Contents" />
9<link rel='index' href='genindex.html' title='Index' />
10<link rel='last' href='about.html' title='About this document...' />
11<link rel='help' href='about.html' title='About this document...' />
12<link rel="next" href="import.html" />
13<link rel="prev" href="break.html" />
14<link rel="parent" href="simple.html" />
15<link rel="next" href="import.html" />
16<meta name='aesop' content='information' />
17<title>6.11 The continue statement </title>
18</head>
19<body>
20<DIV CLASS="navigation">
21<div id='top-navigation-panel' xml:id='top-navigation-panel'>
22<table align="center" width="100%" cellpadding="0" cellspacing="2">
23<tr>
24<td class='online-navigation'><a rel="prev" title="6.10 The break statement"
25 href="break.html"><img src='../icons/previous.png'
26 border='0' height='32' alt='Previous Page' width='32' /></A></td>
27<td class='online-navigation'><a rel="parent" title="6. Simple statements"
28 href="simple.html"><img src='../icons/up.png'
29 border='0' height='32' alt='Up One Level' width='32' /></A></td>
30<td class='online-navigation'><a rel="next" title="6.12 The import statement"
31 href="import.html"><img src='../icons/next.png'
32 border='0' height='32' alt='Next Page' width='32' /></A></td>
33<td align="center" width="100%">Python Reference Manual</td>
34<td class='online-navigation'><a rel="contents" title="Table of Contents"
35 href="contents.html"><img src='../icons/contents.png'
36 border='0' height='32' alt='Contents' width='32' /></A></td>
37<td class='online-navigation'><img src='../icons/blank.png'
38 border='0' height='32' alt='' width='32' /></td>
39<td class='online-navigation'><a rel="index" title="Index"
40 href="genindex.html"><img src='../icons/index.png'
41 border='0' height='32' alt='Index' width='32' /></A></td>
42</tr></table>
43<div class='online-navigation'>
44<b class="navlabel">Previous:</b>
45<a class="sectref" rel="prev" href="break.html">6.10 The break statement</A>
46<b class="navlabel">Up:</b>
47<a class="sectref" rel="parent" href="simple.html">6. Simple statements</A>
48<b class="navlabel">Next:</b>
49<a class="sectref" rel="next" href="import.html">6.12 The import statement</A>
50</div>
51<hr /></div>
52</DIV>
53<!--End of Navigation Panel-->
54
55<H1><A NAME="SECTION0081100000000000000000"></A><A NAME="continue"></A>
56<BR>
576.11 The <tt class="keyword">continue</tt> statement
58</H1>
59<a id='l2h-524' xml:id='l2h-524'></a>
60<P>
61<dl><dd class="grammar">
62<div class="productions">
63<table>
64<tr>
65 <td><a id='tok-continue_stmt' xml:id='tok-continue_stmt'>continue_stmt</a></td>
66 <td>::=</td>
67 <td>"continue"</td></tr>
68</table>
69</div>
70<a class="grammar-footer"
71 href="grammar.txt" type="text/plain"
72 >Download entire grammar as text.</a>
73</dd></dl>
74
75<P>
76<tt class="keyword">continue</tt> may only occur syntactically nested in a <tt class="keyword">for</tt> or
77<tt class="keyword">while</tt> loop, but not nested in a function or class definition or
78<tt class="keyword">try</tt> statement within that loop.<A NAME="tex2html9"
79 HREF="#foot5846"><SUP>6.1</SUP></A>It continues with the next cycle of the nearest enclosing loop.
80<a id='l2h-525' xml:id='l2h-525'></a><a id='l2h-526' xml:id='l2h-526'></a><a id='l2h-527' xml:id='l2h-527'></a><a id='l2h-528' xml:id='l2h-528'></a>
81<P>
82<BR><HR><H4>Footnotes</H4>
83<DL>
84<DT><A NAME="foot5846">... loop.</A><A
85 href="continue.html#tex2html9"><SUP>6.1</SUP></A></DT>
86<DD>It may
87occur within an <tt class="keyword">except</tt> or <tt class="keyword">else</tt> clause. The
88restriction on occurring in the <tt class="keyword">try</tt> clause is implementor's
89laziness and will eventually be lifted.
90
91</DD>
92</DL>
93<DIV CLASS="navigation">
94<div class='online-navigation'>
95<p></p><hr />
96<table align="center" width="100%" cellpadding="0" cellspacing="2">
97<tr>
98<td class='online-navigation'><a rel="prev" title="6.10 The break statement"
99 href="break.html"><img src='../icons/previous.png'
100 border='0' height='32' alt='Previous Page' width='32' /></A></td>
101<td class='online-navigation'><a rel="parent" title="6. Simple statements"
102 href="simple.html"><img src='../icons/up.png'
103 border='0' height='32' alt='Up One Level' width='32' /></A></td>
104<td class='online-navigation'><a rel="next" title="6.12 The import statement"
105 href="import.html"><img src='../icons/next.png'
106 border='0' height='32' alt='Next Page' width='32' /></A></td>
107<td align="center" width="100%">Python Reference Manual</td>
108<td class='online-navigation'><a rel="contents" title="Table of Contents"
109 href="contents.html"><img src='../icons/contents.png'
110 border='0' height='32' alt='Contents' width='32' /></A></td>
111<td class='online-navigation'><img src='../icons/blank.png'
112 border='0' height='32' alt='' width='32' /></td>
113<td class='online-navigation'><a rel="index" title="Index"
114 href="genindex.html"><img src='../icons/index.png'
115 border='0' height='32' alt='Index' width='32' /></A></td>
116</tr></table>
117<div class='online-navigation'>
118<b class="navlabel">Previous:</b>
119<a class="sectref" rel="prev" href="break.html">6.10 The break statement</A>
120<b class="navlabel">Up:</b>
121<a class="sectref" rel="parent" href="simple.html">6. Simple statements</A>
122<b class="navlabel">Next:</b>
123<a class="sectref" rel="next" href="import.html">6.12 The import statement</A>
124</div>
125</div>
126<hr />
127<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
128</DIV>
129<!--End of Navigation Panel-->
130<ADDRESS>
131See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
132</ADDRESS>
133</BODY>
134</HTML>