Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for F3 (0.02 seconds)

  1. doc/go_spec.html

    }
    
    switch x := f(); {  // missing switch expression means "true"
    case x < 0: return -x
    default: return x
    }
    
    switch {
    case x < y: f1()
    case x < z: f2()
    case x == 4: f3()
    }
    </pre>
    
    <p>
    Implementation restriction: A compiler may disallow multiple case
    expressions evaluating to the same constant.
    For instance, the current compilers disallow duplicate integer,
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top