Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for movement (0.41 sec)

  1. doc/go1.17_spec.html

    <pre class="ebnf">
    FallthroughStmt = "fallthrough" .
    </pre>
    
    
    <h3 id="Defer_statements">Defer statements</h3>
    
    <p>
    A "defer" statement invokes a function whose execution is deferred
    to the moment the surrounding function returns, either because the
    surrounding function executed a <a href="#Return_statements">return statement</a>,
    reached the end of its <a href="#Function_declarations">function body</a>,
    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)
  2. doc/go_spec.html

    The variable used by each subsequent iteration is declared implicitly before
    executing the post statement and initialized to the value of the previous
    iteration's variable at that moment.
    </p>
    
    <pre>
    var prints []func()
    for i := 0; i < 5; i++ {
    	prints = append(prints, func() { println(i) })
    	i++
    }
    for _, p := range prints {
    	p()
    }
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top