<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of Sep 12, 2013",
+ "Subtitle": "Version of Sep 16, 2013",
"Path": "/doc/spec"
}-->
(possibly parenthesized)
<a href="#Composite_literals">composite literal</a>.
If the evaluation of <code>x</code> would cause a <a href="#Run_time_panics">run-time panic</a>,
-then the evaluation of <code>&x</code> does too.
+then the evaluation of <code>&x</code> does too.
</p>
<p>
var x *int = nil
*x // causes a run-time panic
-&*x // causes a run-time panic
+&*x // causes a run-time panic
</pre>
</p>
<pre>
-L:
- for i < n {
- switch i {
- case 5:
- break L
+OuterLoop:
+ for i = 0; i < n; i++ {
+ for j = 0; j < m; j++ {
+ switch a[i][j] {
+ case nil:
+ state = Error
+ break OuterLoop
+ case item:
+ state = Found
+ break OuterLoop
+ }
}
}
</pre>
advances.
</p>
+<pre>
+RowLoop:
+ for y, row := range rows {
+ for x, data := range row {
+ if data == endOfRow {
+ continue RowLoop
+ }
+ row[x] = data + bias(x, y)
+ }
+ }
+</pre>
+
<h3 id="Goto_statements">Goto statements</h3>
<p>