Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for creation (0.21 sec)

  1. doc/go1.17_spec.html

    For instance, this example:
    </p>
    
    <pre>
    	goto L  // BAD
    	v := 3
    L:
    </pre>
    
    <p>
    is erroneous because the jump to label <code>L</code> skips
    the creation of <code>v</code>.
    </p>
    
    <p>
    A "goto" statement outside a <a href="#Blocks">block</a> cannot jump to a label inside that block.
    For instance, this example:
    </p>
    
    <pre>
    if n%2 == 1 {
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top