Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for forrange1 (0.11 sec)

  1. src/go/parser/parser_test.go

    	{name: "forrange0", format: "package main; func main() { «for range x { «» }» }", scope: true, scopeMultiplier: 2},               // Scopes: RangeStmt, BlockStmt
    	{name: "forrange1", format: "package main; func main() { «for x = range z { «» }» }", scope: true, scopeMultiplier: 2},           // Scopes: RangeStmt, BlockStmt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    instead of having their own separate variables.
    In that case, the example above prints
    </p>
    
    <pre>
    6
    6
    6
    </pre>
    
    <h4 id="For_range">For statements with <code>range</code> clause</h4>
    
    <p>
    A "for" statement with a "range" clause
    iterates through all entries of an array, slice, string or map, values received on
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  3. doc/go1.17_spec.html

    <code>true</code>.
    </p>
    
    <pre>
    for cond { S() }    is the same as    for ; cond ; { S() }
    for      { S() }    is the same as    for true     { S() }
    </pre>
    
    <h4 id="For_range">For statements with <code>range</code> clause</h4>
    
    <p>
    A "for" statement with a "range" clause
    iterates through all entries of an array, slice, string or map,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top